Re: kAudioUnitProperty_BusCount
Re: kAudioUnitProperty_BusCount
- Subject: Re: kAudioUnitProperty_BusCount
- From: Marc Poirier <email@hidden>
- Date: Tue, 25 Nov 2003 23:34:23 -0600 (CST)
I'm not sure about the 2 output buses thing, but so far as so far as the
input buses go, I know that a MusicDevice will report 0 input buses if it
has no input audio channels. In other words, it won't simply report 0 in
the SupportedNumChannels, but it also won't have an input bus period. So
that at least sounds normal to me.
Although, hmmm, looking at the stub for the MusicDeviceBase constructor, I
could see someone possibly confusing channels with buses:
MusicDeviceBase(ComponentInstance inInstance, UInt32 numInputs, UInt32
numOutputs, UInt32 numGroups);
I wouldn't be surprised if there are some people out there looking at this
and thinking that MusicDeviceBase(inInstance, 0, 2, 0); would be the way
to say that your MD has 1 output bus with 2 channels. Last I looked,
MusicDeviceBase was still pretty minally documented, too. Something like
this would probably be clearer:
MusicDeviceBase(ComponentInstance inInstance, UInt32 numInputBuses, UInt32 numOutputBuses, UInt32 numGroups);
But I'm totally just guessing about that, I'm not sure if that's what any
developers have been thinking...
Marc
On Tue, 25 Nov 2003, Robert Grant wrote:
>
I'm confused about why most AU MusicDevices report 2 output buses for
>
this property when only bus 0 seems to be active. And the docs seem to
>
say that most AUs will only provide 1 input and output bus.
>
>
What's the story?
>
>
Thanks,
>
>
Robert.
_______________________________________________
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.