accurate method for detecting number of output channels?
accurate method for detecting number of output channels?
- Subject: accurate method for detecting number of output channels?
- From: email@hidden
- Date: Wed, 17 May 2006 12:00:28 -0400
Hi all,
My host is populating an audio output device list, filtering out devices
that do not support at least 2 channels of audio. I have found that
there are devices which report back 1 for mChannelsPerFrame, even if
they do not set the kAudioFormatFlagIsNonInterleaved flag. For one
example, the Digidesign Mbox, using the standalone CoreAudio 7.0
drivers. I believe that the RME Fireface 800 is another.
My program requires a stereo output. Clearly the Mbox is capable of
providing that. Are there other tests I should be using?
"Built-in audio" description
mFormatID lpcm
mFormatFlags kAudioFormatFlagsNativeFloatPacked
mBytesPerPacket 8
mFramesPerPacket 1
mBytesPerFrame 8
mChannelsPerFrame 2
mBitsPerChannel 32
"MBox" description
mFormatID lpcm
mFormatFlags kAudioFormatFlagsNativeFloatPacked
mBytesPerPacket 4
mFramesPerPacket 1
mBytesPerFrame 4
mChannelsPerFrame 1
mBitsPerChannel 32
Thanks!
- Rick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden