Re: AUGraphConnectNodeInput() understanding arg 3 and 5
Re: AUGraphConnectNodeInput() understanding arg 3 and 5
- Subject: Re: AUGraphConnectNodeInput() understanding arg 3 and 5
- From: William Stewart <email@hidden>
- Date: Tue, 12 Oct 2010 17:59:17 -0700
On Oct 8, 2010, at 1:48 PM, GW Rodriguez wrote:
> I am trying to understand arguments 3 and 5 in the AUGraphConnectNodeInput() function. they are both UInt32's and each of them has to do with the previous arguments.
>
> So If I am connecting a file player node to a output node my code would be simply
>
> AUGrphConnectNodeInput( theGraph, fileNode, 0
this is the output element of the "fileNode"
> , outNode, 0
this is the input element of the "outNode"
> )
>
> And this works perfectly fine. I am just trying to understand args 3 and 5 better for when I have more elaborate programs.
For instance, a mixer can have many input elements, so while most AUs have a single output, dealing with many inputs is a common scenario. So, in that case the input element would be which input you want the source of the connection (its output) to go to
Bill
>
> thanks in advance!
>
> --
> GW Rodriguez
> _______________________________________________
> 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
_______________________________________________
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