Re: Disconnected AU causes crashes on AUGraphRun
Re: Disconnected AU causes crashes on AUGraphRun
- Subject: Re: Disconnected AU causes crashes on AUGraphRun
- From: Mark Coniglio <email@hidden>
- Date: Wed, 5 Apr 2006 07:41:14 -0400
OK - so I ran your code that you'd included in the bug and saw the
crash. Thanks for that, very helpful.
Glad to be of service... and thanks for digging in to this problem.
...I can see two alternatives to workaround this problem - it is a
problem that only exists for the stereo Mixer AU
(1) Don't enable metering
(2) If you want metering, make sure that all of the inputs to the
mixer will not return errors...
I've implemented a third alternative, which is to walk my chain of
AU's before I create the nodes, and determine if each AU ultimately
has no generator connected to it. If it doesn't, none of the AU's in
that leaf of the tree is are added to the graph. Thus the Stereo
Mixer has no input node, and no crash.
Thanks again for the help.
Best Wishes,
Mark
--
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater | http://www.troikaranch.org
=====================================================================
_______________________________________________
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