How to stop an Audio Unit from within the render callback
How to stop an Audio Unit from within the render callback
- Subject: How to stop an Audio Unit from within the render callback
- From: Inca Rose <email@hidden>
- Date: Mon, 12 Jan 2009 16:09:44 +0200
Hi;
How can I signal the RIO AudioUnit that I finish playing data ?
I have a buffer with audio samples, every time my app get called to
the render callback
I copy some of the data to the AudioBufferList provided in the callback.
When I finish to pass all the data, I want to call the stop method of
my RIO AudioUnit, but
the problem is that it happen while inside the render callback.
Calling stop while in the render callback doesn't work.
How can I do that ?
Thanks
Inca R
_______________________________________________
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