• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AUGraphisRunning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >recommended practice for routing to multiple devices from one augraph (From: Christopher Ashworth <email@hidden>)
 >Re: recommended practice for routing to multiple devices from one augraph (From: William Stewart <email@hidden>)
 >OT: xcode and cvs (From: Peter Thom <email@hidden>)
 >AUGraphisRunning (From: email@hidden)

  • Prev by Date: AUAudioFilePlayer dropouts
  • Next by Date: Re: Setting MaximumFramesPerSlice property on Stereo Mixer AU
  • Previous by thread: AUGraphisRunning
  • Next by thread: Crashing Auval
  • Index(es):
    • Date
    • Thread