Re: Multiple Output Music Device
Re: Multiple Output Music Device
- Subject: Re: Multiple Output Music Device
- From: William Stewart <email@hidden>
- Date: Fri, 17 Oct 2003 12:47:08 -0700
On 17/10/2003, at 10:53 AM, Jeremy Sagan wrote:
Bill,
I am confused by your answer here....
On Friday, October 17, 2003, at 01:50 AM, William Stewart wrote:
- Audio Unit reports the total number of channels via
SupportedNumChannels().
For example, if I had two stereo pairs and two mono outs,
I'd report 4 as my
number of outputs, and { 0, 6 } in response to
SupportedNumChannels()
This is definitely wrong, as not a single bus can be set to 6
channels. Part of the motivation of having this property was to
describe alternate settings of channelisations (Which this is not
really a case of). Can I ask this - why are you providing 2 stereo
pairs and 2 mono outputs?
<snip>
- Host interrogates the Audio Unit for number of output
busses via
kAudioUnitProperty_BusCount
Yes
- For *each* output bus (element on the output scope), Host
interrogates the
Audio Unit for the element's StreamFormat via
kAudioUnitProperty_StreamFormat
Yes
This answer is yes? I thought that in the answer above you were saying
that the supported number of channels applies to all busses. If it
possible to inquire the number of channels for each buss using the
element field on output scope can you please confirm this and if this
is true then I don't understand why a single buss cannot be set to 6
channels.
Yes - the example is that a single one of the busses can only be either
mono or stereo, but none of the busses can be configured for 6
channels.
Stream format is per scope/per element and can be settable. Thus, if an
AU can handle 6 channels on a single element, then it can be set to
that (or *any* number of channels if the AU supports it).
Bill
Thanks,
Jeremy
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.