Custom properties and stopping a graph
Custom properties and stopping a graph
- Subject: Custom properties and stopping a graph
- From: ipmlists <email@hidden>
- Date: Mon, 7 Dec 2009 12:13:57 +0000
Hi,
I've written an effect AU, which contains an AUGraph, which in turn
contains two effect AUs and an output AU. In its ProcessBufferLists
function, the wrapper AU calls AudioUnitRender on the head node of the
graph, and a renderProc is set on the first node of the graph, to pull
data from the wrapper AU's input buffer.
The first of the embedded AUs has some custom properties which are
user-configurable, and changing them requires processing to be halted.
I'm currently doing this by calling AUGraphStop, then
AUGraphDisconnectNodeInput on the second node, changing the
Properties, then repeating the above in reverse order.
This works - that is, it doesn't crash, and the interruption to the
audio stream is brief - but it seems a pretty crude approach, and I
strongly suspect it's not the right way to go about this - am I right?
thanks,
Iain
_______________________________________________
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