Re: goodbye kAudioDevicePropertyRateScalar
Re: goodbye kAudioDevicePropertyRateScalar
- Subject: Re: goodbye kAudioDevicePropertyRateScalar
- From: Jeff Moore <email@hidden>
- Date: Mon, 12 Nov 2001 11:01:03 -0800
on 11/12/01 9:09 AM, Christopher Penrose <email@hidden> wrote:
>
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
Bill is correct. All the the information you need is available from the
stream description related properties, especially
kAudioDevicePropertyStreamFormats which returns the list of available stream
formats.
You sound like you are working with an M-Audio card. When I run Daisy in our
lab with a Delta 10/10, I see 7 individual devices:
- a 2 channel input only Mixer device
- a 2 channel full duplex SPDIF device
- 4 2 channel full duplex devices addressing 4 stereo pairs of analog IO
- a 10 channel full duplex device
In each of these devices, I only see one kind of channel configuration and
bit depth with many different sample rates. Apparently M-Audio has chosen to
implement the different channel configurations as separate individual
devices, an interesting approach.
All of this info is correctly conveyed via the stream format properties.
--
Jeff Moore
Core Audio
Apple