Re: goodbye kAudioDevicePropertyRateScalar
Re: goodbye kAudioDevicePropertyRateScalar
- Subject: Re: goodbye kAudioDevicePropertyRateScalar
- From: Christopher Penrose <email@hidden>
- Date: Tue, 13 Nov 2001 02:09:07 +0900
On Sunday, November 11, 2001, at 06:21 AM, Bill Stewart wrote:
There are properties for the StreamDescription - use that instead....
Daisy has examples of how this is used.
The reason this was removed is that some devices support multiple
configurations of sample rate/n channels including a different set of
channels at the same sample rate - so you have to be more explicit
about what state you really want the driver to be put in...
Yes, this is very true. However, if I get the property
kAudioDevicePropertyStreamFormats I will have list of stream
descriptions that describe the various sampling rates for the device but
not the the assorted channel configurations. Each stream description,
in practice, is simply lists the current channel configuration with the
various sampling rates of the device. None of the other channel
configurations are presented. Next I thought to try
kAudioDevicePropertyStreamConfiguration, but it can only provide the
current channel state as well.
I am working with a multi-channel audio device and it has several
channel modes that I can select from. It has a comprehensive 10-channel
mode, and five other stereo paired choices. I haven't seen a way to
divine such possibilities with CoreAudio. Enlightenment requested.
Christopher
email@hidden