X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/d76bbdea349bf3856172ce9599e657d566e91162..fde67de26e36cf02d5632d934623bbc054a3c1d9:/lib/uaudio-coreaudio.c diff --git a/lib/uaudio-coreaudio.c b/lib/uaudio-coreaudio.c index 5f28e67..6ca3f70 100644 --- a/lib/uaudio-coreaudio.c +++ b/lib/uaudio-coreaudio.c @@ -138,14 +138,14 @@ static void coreaudio_start(uaudio_callback *callback, if(status) coreaudio_fatal(status, "AudioHardwareGetProperty"); D(("mSampleRate %f", asbd.mSampleRate)); - D(("mFormatID %08lx", asbd.mFormatID)); - D(("mFormatFlags %08lx", asbd.mFormatFlags)); - D(("mBytesPerPacket %08lx", asbd.mBytesPerPacket)); - D(("mFramesPerPacket %08lx", asbd.mFramesPerPacket)); - D(("mBytesPerFrame %08lx", asbd.mBytesPerFrame)); - D(("mChannelsPerFrame %08lx", asbd.mChannelsPerFrame)); - D(("mBitsPerChannel %08lx", asbd.mBitsPerChannel)); - D(("mReserved %08lx", asbd.mReserved)); + D(("mFormatID %08"PRIx32, asbd.mFormatID)); + D(("mFormatFlags %08"PRIx32, asbd.mFormatFlags)); + D(("mBytesPerPacket %08"PRIx32, asbd.mBytesPerPacket)); + D(("mFramesPerPacket %08"PRIx32, asbd.mFramesPerPacket)); + D(("mBytesPerFrame %08"PRIx32, asbd.mBytesPerFrame)); + D(("mChannelsPerFrame %08"PRIx32, asbd.mChannelsPerFrame)); + D(("mBitsPerChannel %08"PRIx32, asbd.mBitsPerChannel)); + D(("mReserved %08"PRIx32, asbd.mReserved)); /* Check that everything adds up */ if(asbd.mFormatID != kAudioFormatLinearPCM) disorder_fatal(0, "audio device does not support kAudioFormatLinearPCM");