AUGraph calling AUBase::DoInitialize in the render thread?
AUGraph calling AUBase::DoInitialize in the render thread?
- Subject: AUGraph calling AUBase::DoInitialize in the render thread?
- From: Philippe Wicker <email@hidden>
- Date: Sun, 18 Jan 2004 11:30:06 +0100
Hi all,
While debuging an AU of mine within an application using the AUGraph
API, I noticed that AUBase::DoInitialize is called within the render
thread context. The stack trace shows calls to an AudioUnitGraph C++
class which is I believe the implementation of the AUGraph.
The stack trace shows that the first called method is
AudioUnitGraph::GraphRenderCallback_NEW and later
AudioUnitGraph::ConnectAudioUnit and later again AudioUnitInitialize.
I assume that this sequence is true for all the AU belonging to the
graph, so it may take quite a long time. Is it Ok to do this in the
render thread? What is the rationale behind this?
Thanks,
Philippe Wicker
email@hidden
_______________________________________________
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.