• 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 to calculate latency?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to calculate latency?


  • Subject: how to calculate latency?
  • From: Peter Stuart <email@hidden>
  • Date: Wed, 6 Jan 2010 15:55:32 -0800

Hi, there. I'm a little confused on the exact process to calculate the
latency between my application and audio output. I read a document
somewhere explaining to query the kAudioDevicePropertyLatency device
property and add this to the latency of the AudioStream. Unfortunately
I can't find the document now, otherwise I'd post a link. I also
noticed in the CAPlayThrough sample that the safety offset and buffer
frame size device properties are used. Do all of these things need to
be included to calculate the total latency? Is the
kAudioDevicePropertyLatency related to the latency of the underlying
hardware? What is an audio stream? When I query the latency of the one
audio stream in my device it returns 0. When would there be more than
one audio stream? Thanks for any information!

Cheers!
Peter.
 _______________________________________________
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 to calculate latency?
      • From: Jeff Moore <email@hidden>
  • Prev by Date: Re: AudioFileReadBytes() byte-swapping on iPhone OS
  • Next by Date: Re: how to calculate latency?
  • Previous by thread: IO Cycle for Audio Playthrough
  • Next by thread: Re: how to calculate latency?
  • Index(es):
    • Date
    • Thread