Re: AUGraphisRunning
Re: AUGraphisRunning
- Subject: Re: AUGraphisRunning
- From: William Stewart <email@hidden>
- Date: Fri, 21 Apr 2006 15:00:42 -0700
On 21/04/2006, at 7:22 AM, email@hidden wrote:
Does AUGraphIsRunning() just check the reference count on graph
nodes, or does it actually test to make sure that rendering has
been completed?
I guess my question is really "what do I need to do after calling
AUGraphStop() before making a potentially dangerous change (such as
changing buffer size?" In my tests, after I call AUGraphStop(),
AUGraphIsRunning() does return "false" in the outIsRunning boolean
parameter the very first time I call it.
Yes - the Start and Stop API's are counted, so Stop has to be called
the same number of times as Start was to really stop the graph. You
can easily define this as a loop to keep calling AUGraphStop until
IsRunning returns false.
Bill
Thanks!
- Rick
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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