• 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: Audio Playback Latency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Audio Playback Latency


  • Subject: Re: Audio Playback Latency
  • From: "Andrew Butcher" <email@hidden>
  • Date: Wed, 14 Jan 2009 16:04:11 -0700

Hi Brian,

I've searched the archives, and I've found information on computing latency and reducing latency, but I haven't found anything regarding the amount of variability in latency.  I would take take as much as a 1 second delay, if it was constant, and always exactly 1 second.

Thanks,
Andrew.

On Tue, Jan 13, 2009 at 6:01 PM, Brian Willoughby <email@hidden> wrote:
I'm not sure that this answers your question, but you can query the audio output device for its latency (be sure to add the multiple latency values for the device stream and channels) and any AudioUnits in your signal path.  The sum total of all latencies along the way will tell you the difference between "now" and when the audio will be heard.  Check the mailing list archives for more detailed discussion.

Brian Willoughby
Sound Consulting



On Jan 13, 2009, at 14:26, Andrew Butcher wrote:
I need a way to accurately get a time stamp for when playback from a speaker begins.  Any constant latency between the timestamp and playback is perfectly acceptable in my application, but variations between the timestamp and actual playback time are very problematic.

Can anyone suggest a highly accurate way of getting a timestamp for when playback begins?  I've tried grabbing the time from the render callback, but it doesn't seem to be any more accurate.  I've got a mean playback time that varies on the size of my buffer, but a standard deviation of about 4ms that I can't seem to reduce.


 _______________________________________________
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: Audio Playback Latency
      • From: Brian Willoughby <email@hidden>
References: 
 >Audio Playback Latency (From: "Andrew Butcher" <email@hidden>)
 >Re: Audio Playback Latency (From: Brian Willoughby <email@hidden>)

  • Prev by Date: Apple Loops Utility Question
  • Next by Date: Re: Audio Playback Latency
  • Previous by thread: Re: Audio Playback Latency
  • Next by thread: Re: Audio Playback Latency
  • Index(es):
    • Date
    • Thread