• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
accurate method for detecting number of output channels?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: accurate method for detecting number of output channels?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: Host Support for Cocoa UI AU's
  • Next by Date: Re: Host Support for Cocoa UI AU's
  • Previous by thread: Sync Quicktime and CoreAudio
  • Next by thread: Re: accurate method for detecting number of output channels?
  • Index(es):
    • Date
    • Thread