Connecting Audio Effect Units
Connecting Audio Effect Units
- Subject: Connecting Audio Effect Units
- From: Brian Davies <email@hidden>
- Date: Thu, 31 May 2012 08:36:44 +1000
New to Core Audio
In an App, I want to instantiate and connect two Audio Effect Units. Quite a lot of sample code to be found in CAPlayThrough.
Question: if I set up an AudioUnitConnection structure
upstreamConnection{
upstreamUnit,
upstreamOutput = 0,
downstreamInput = 0
}
then call
AudioUnitSetProperty(
kAudioUnitProperty_MakeConnection,
kAudioUnitProperty_Input,
0,
&upstreamConnection,
sizeof(upstreamConnection)
)
is that ALL I need to do?
Reason for question: the documentation I have talks about the Render Callback Structure and Property, and the actual rendering method that gets invoked, as well as describing the AudioUnitSetProperty call. Do I need to know ANY of that in relation to the two effect units I am connecting, or does the specification of effect units guarantee that everything will be discovered by the AudioUnitSetProperty call?
Thanks
Brian Davies
email@hidden
www.kagi.com/clickrepair
_______________________________________________
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