Re: basic output unit question - multichannel
Re: basic output unit question - multichannel
- Subject: Re: basic output unit question - multichannel
- From: Doug Wyatt <email@hidden>
- Date: Mon, 25 Oct 2004 17:32:13 -0700
On Oct 25, 2004, at 17:25, Tom Erbe wrote:
Hi all,
This may seem pretty basic, but when I open the
kAudioUnitSubType_DefaultOutput (or open the
kAudioUnitSubType_HALOutput and connect it to a device), what is the
best way to query for the maximum number of channels supported? That
is, if the Digi 002r is the default output, can I query the default
output AU, and find the maximum number of channels (which would be 10
for the 002r)? The kAudioUnitProperty_StreamFormat doesn't give me the
maximum, just what seems to be the current settings for the output.
Thanks, Tom
If you ask for the stream format for element 0, *output* scope, you
should get the total number of channels. If you ask for it on *input*
scope, you'll get whatever you last set as your client format, or the
default.
Best,
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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