• 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
Re: Are there any situations which would cause the RemoteIO au callback to stop being called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 13:31:43 -0700

It certainly could. However, I'm not actually feeding the UI audio data. What I'm doing is more long the lines of notifying it of sequencer ticks. Every 10k samples or so, I'm setting a flag for the UI to read which indicates "10k samples were calculated".
-m-

On Fri, Feb 25, 2011 at 1:25 PM, Ian Esten <email@hidden> wrote:
Couldn't feeding your UI (or UI triggering alg) a load of NANs be the cause of your UI not responding?


On Feb 25, 2011, at 9:14 AM, Morgan Packard 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
>
> --
> ================================
> Web:
> http://www.morganpackard.com
>
> Music/Art:
> Latest album: Moment Again Elsewhere
> 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



--
================================
Web:
http://www.morganpackard.com

Music/Art:
Latest album: Moment Again Elsewhere
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

References: 
 >Are there any situations which would cause the RemoteIO au callback to stop being called? (From: Morgan Packard <email@hidden>)
 >Re: Are there any situations which would cause the RemoteIO au callback to stop being called? (From: Ian Esten <email@hidden>)

  • Prev by Date: Re: Are there any situations which would cause the RemoteIO au callback to stop being called?
  • Next by Date: Re: Big Top results
  • Previous by thread: Re: Are there any situations which would cause the RemoteIO au callback to stop being called?
  • Next by thread: Re: Big Top results
  • Index(es):
    • Date
    • Thread