Re: Multiple AUs into the output node?
Re: Multiple AUs into the output node?
- Subject: Re: Multiple AUs into the output node?
- From: William Stewart <email@hidden>
- Date: Fri, 28 May 2004 12:50:59 -0700
On 28/05/2004, at 1:52 AM, m wrote:
>
Reading the documentation for AUGraph (in particular
>
AUGraphConnectNodeInput()), it seems that I should be able to connect
>
the outputs of an arbitrary number of AUs to the input of my graph's
>
output node. However, I can only ever connect one. When I try to
>
connect a second, I get a kAudioUnitErr_InvalidElement error when I
>
call AUGraphUpdate().
An Output AU has only one "bus" for giving output to a device. That bus
can contain all of the channels of the device you are talking to (or a
subset of them if you are using less channels in your graph than the
device presents)....
So you have to mix multiple inputs to a single output bus which you
then give to the output AU:
Input 1 Input 2 Input 3
| | |
M I X E R
|
output
The "Mixer" in the above can be one of three mixers that we provide in
the system:
Stereo Mixer
3D Mixer
Matrix Mixer
These each have different characteristics and uses... the stereo mixer
is the simplest to start with, and the MM is the one that needs the
most work to use (but of course its also the most powerful)
Bill
>
>
>
Here's my call sequence, inAUIndex is incremented on subsequent calls.
>
>
status = AUGraphNewNode(mGraph, &inComponentDescription, 0, NULL,
>
&mTargetNode[inAUIndex]);
>
status = AUGraphConnectNodeInput (mGraph, mTargetNode[inAUIndex],
>
0, mOutputNode, inAUIndex);
>
status = AUGraphUpdate (mGraph, NULL);
>
>
Any pointers?
>
>
_murat
>
_______________________________________________
>
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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.