Hi Cara,

I create a mixer node with kAudioUnitSubType_MultiChannelMixer in the audio 
component description. When you say "channel“, are you talking about elements?
An element is a programmatic context which is nested within an audio scope. It 
is analogous to a signal bus in a physical device (if it is a part of input or 
output scope) and that’s the reason why it is sometimes also called a bus.

For example you can connect your output node (bus 0 (in output scope) is 
directly connected to the speaker) with your mixer node like that:

    CheckError(AUGraphConnectNodeInput(self->graph, mainMixerNode, 0, 
outputNode, 0),
               "Couldn't connect mixer output on bus 0 to input scope bus 0 of 
outputNode");

Best,
Larissa



> Am 01.02.2016 um 05:46 schrieb Cara Quinn <[email protected]>:
> 
> Hello All, firstly thanks for this list!
> 
> My apologies for such a basic mixer question but I have been tasked with 
> writing a VOIP application and have had no previous experience with audio 
> units until just recently.
> 
> I am needing to add multi-channel support to the VOIP app at the moment so am 
> researching the standard multi-channel mixer audio unit.
> 
> I have looked at some sample code (both from Apple and from third parties) to 
> get an idea of what is happening and mostly get what is going on with one 
> exception.
> 
> I cannot for the life of me, figure out where the channel or bus assignments 
> are happening. I.E. if I have several audio streams, and I wish to assign 
> each stream to a specific mixer input I cannot see where this is happening in 
> any of the examples I am looking at.
> 
> Also, I have seen people say online that the busses and mixer channels are 
> two different concepts but again, I cannot see in the code where this is 
> demonstrated. So any help on the correct paradigm I should be thinking of 
> this in terms of, would greatly be appreciated.
> 
> I am sure I must be overlooking something basic here so if anyone can point 
> me in the right direction I would sure be grateful! :)
> 
> Thanks so much and please do have a great day!
> 
> Cheers!
> 
> Cara
> ---
> iOS design and development - LookTel.com
> ---
> View my Online Portfolio at:
> 
> http://www.onemodelplace.com/models/Cara-Quinn
> 
> Follow me on Twitter!
> 
> https://twitter.com/ModelCara
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/coreaudio-api/larissa%40quappi.com
> 
> This email sent to [email protected]


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to