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: Morgan Packard <email@hidden>
- Date: Fri, 25 Feb 2011 12:23:21 -0700
Hi Gregory,
Unfortunately, I don't have much info myself. This seems to be one of those impossible-to-reproduce bugs that you just happens once in a while. I'm communicating with the UI thread by just setting data which the UI reads. I don't think that has anything to do with my audio stopping.
What I saw yesterday was a steady stream of NaNs being steadily gobbled up by the render callback. But I'm wondering if this might be different from the bug I'm getting reports on since the reports also describe UI stuff failing to react. This failure to react would be consistant with a completely stopped RemoteIO callback.
My basic question is simple: are there any conditions under which the RemoteIO callback might simply stop running, other than manually stopping it, or the entire thread being blocked?
thanks,
-Morgan
On Fri, Feb 25, 2011 at 12:12 PM, Gregory Wieber
<email@hidden> wrote:
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
--
================================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