Proper way for stopping a graph from it's renderInput callback
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