• 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
How long do render callbacks have to execute?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How long do render callbacks have to execute?


  • Subject: How long do render callbacks have to execute?
  • From: Jonathan <email@hidden>
  • Date: Fri, 12 Aug 2011 13:36:24 -0700

I'm trying to diagnose an audio skipping problem I'm having using Audio Units and remoteIO.

I have two callbacks that each feed into a mixer, and then I have a render notify callback on the output of the mixer which feeds into the remote IO unit.

How much time do I have in each of those call backs?  I'm assuming it's related to the IO Buffer duration.. so let's say I have it set to .005 seconds.  Does that mean that each of the callbacks have .005 seconds to return, or is the duration divided by the number of callbacks?  For example, if there are three callbacks in succession that each take .004 seconds to fill buffers, is that going to meet the requirement or no?

Related to that, is there a way to reliably detect when the boat is missed, so to speak, so I can detect if the user is experiencing skips?
 _______________________________________________
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: How long do render callbacks have to execute?
      • From: Brian Willoughby <email@hidden>
  • Prev by Date: Identifying AUs from host?
  • Next by Date: Re: How long do render callbacks have to execute?
  • Previous by thread: Re: Identifying AUs from host?
  • Next by thread: Re: How long do render callbacks have to execute?
  • Index(es):
    • Date
    • Thread