Re: Are there any situations which would cause the RemoteIO au callback to stop being called?
Re: Are there any situations which would cause the RemoteIO au callback to stop being called?
- Subject: Re: Are there any situations which would cause the RemoteIO au callback to stop being called?
- From: Gregory Wieber <email@hidden>
- Date: Fri, 25 Feb 2011 11:12:56 -0800
I think we need more info. How are you updating the info that the UI depends on in the callback? What is your stream format (integer, float, etc)? Does the Remote IO actually stop, or is it silent (which would make sense if you're providing a steady stream of NaNs, which may come out as zeros, I don't know)
On Fri, Feb 25, 2011 at 9:14 AM, Morgan Packard
<email@hidden> wrote:
I'm trying to learn more about a very occasional, but very bad bug which happens in my app. Once in a great while, all of the sound just stops. This happened to me yesterday and I was able to turn on the debugger and find that my output buffer was filled with NaN's. That's obviously a problem somewhere in my code and not a problem I should ask this list to solve for me.
However, users have also reported that when audio stops, UI actions associated with audio stop as well. I am changing data that the UI relies on from inside the RemoteIO callback. Users reporting that this stops suggests that the callback may sometimes stop running. Is this possible? It seems unlikely that feeding the RemoteIO callback a stream of NaNs would cause it to stop running, but I figure I should check anyway.
thanks,
-Morgan
--
================================iOS app Thicket available on iTunes store.
================================
_______________________________________________
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
_______________________________________________
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