• 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: Detecting callback overrun (iOS)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Detecting callback overrun (iOS)


  • Subject: re: Detecting callback overrun (iOS)
  • From: Andrew Smith <email@hidden>
  • Date: Tue, 11 Sep 2012 15:44:29 +0000 (GMT)


Message: 3
Date: Mon, 10 Sep 2012 15:36:26 +0000 (GMT)
From: Andrew Smith <email@hidden>
To: coreaudio <email@hidden>
Subject: Detecting callback overrun
Message-ID: <email@hidden" data-mce-href="mailto:email@hidden">email@hidden>
Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"

Hi,

I really should know this -- but I realize that I don't know how to detect when the remoteIO processing in my callback is taking too long, other than listening for dropouts in the audio. 

Is there a way to detect this programmatically? Because I am thinking of dynamically altering the requested buffer size, depending on whether or not I am keeping up.

cheers
Andrew Smith
 
To be clear, I am running on iOS, and I don't believe that the kAudioDeviceProcessorOverload property is available to monitor, as the HAL stuff appears to be available only in MacOS. Anyone have another way to do this? Is there an easy way to look at the AudioTimeStamp in consecutive callbacks and derive this information?

regards
Andrew
 _______________________________________________
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

  • Prev by Date: Re: iOS Audio Development
  • Next by Date: Noise Reduction
  • Previous by thread: Detecting callback overrun
  • Next by thread: Noise Reduction
  • Index(es):
    • Date
    • Thread