• 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
resetting audio engine after NaN in audio buffer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resetting audio engine after NaN in audio buffer


  • Subject: resetting audio engine after NaN in audio buffer
  • From: ben kamen <email@hidden>
  • Date: Tue, 12 May 2015 14:18:08 -0700

I’ve been experimenting with some DSP C functions on iOS and have a couple times encountered an issue where NaN value gets sent into the output audio buffer.   (Obviously that indicates a bug!  but anyways….)

When this occurs audio stops functioning though the rest of the app (usually) keeps on going as if nothing happened.

That makes sense, but I can’t figure out the best way to recover after that — quitting/restarting the app doesn’t fix it, and audio in most other apps is silenced as well.

The easiest solution I’ve found is to open up the app “Samplr” which apparently has something in it that resets core audio and allows everything to recover.  Any ideas what that would be?

Thanks,
Ben



 _______________________________________________
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


  • Follow-Ups:
    • Re: resetting audio engine after NaN in audio buffer
      • From: Christian Rober <email@hidden>
  • Prev by Date: Re: FYI: Interesting Cocoa audio articles at objc.io
  • Next by Date: Re: Getting packets from ima4 file
  • Previous by thread: Re: FYI: Interesting Cocoa audio articles at objc.io
  • Next by thread: Re: resetting audio engine after NaN in audio buffer
  • Index(es):
    • Date
    • Thread