• 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
Proper way for stopping a graph from it's renderInput callback
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Proper way for stopping a graph from it's renderInput callback


  • Subject: Proper way for stopping a graph from it's renderInput callback
  • From: Guy Shaviv <email@hidden>
  • Date: Mon, 12 Jul 2010 09:17:45 +0300

I'm wondering what is the proper way to stop a graph from playing from within it's render input or render notification callbacks. I tried calling AUGraphStop from my render input callback but that seems to have no effect. What I'm doing now is filling the buffer with silence and scheduling a call to AUGraphStop from the main thread. But it seems like there must be a better way then what I'm doing.

Thanks. _______________________________________________
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

  • Follow-Ups:
    • Re: Proper way for stopping a graph from it's renderInput callback
      • From: William Stewart <email@hidden>
  • Prev by Date: USB audio driver: one engine, two streams.
  • Next by Date: RE: embedding sound problem
  • Previous by thread: Re: USB audio driver: one engine, two streams.
  • Next by thread: Re: Proper way for stopping a graph from it's renderInput callback
  • Index(es):
    • Date
    • Thread