• 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: Measuring Input/Output latencies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Measuring Input/Output latencies


  • Subject: Re: Measuring Input/Output latencies
  • From: Ross Bencina <email@hidden>
  • Date: Thu, 25 Aug 2011 12:58:44 +1000

Hi Stéphane

2) Measured latency differs from the driver reported latency, we were assuming that:

Input latency = Input latency safety offset + Input latency + IO buffer size

Output latency = IO buffer size + Output latency + Output latency safety offset

So global IO latency would be : Input latency safety offset + Input latency + 2 * IO buffer size + Output latency + Output latency safety offset

As Brian said, defining "input latency" as the sum of kAudioStreamPropertyLatency and kAudioDevicePropertyLatency the above formula is what we're currently using in PortAudio.


We have noticed some discrepancies between actual and reported latency in our own testing but the PA loopback test is still under development.

But we see this reported "extra loopback latency".

Does this value correspond to some additional ADC/DAC conversion latency?

I wonder if there are other system level audio processing/SRC in place, and where the latency of these elements is reported.


Thanks

Ross.

_______________________________________________
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: Measuring Input/Output latencies
      • From: Stéphane Letz <email@hidden>
References: 
 >Measuring Input/Output latencies (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: Measuring Input/Output latencies
  • Next by Date: Re: Measuring Input/Output latencies
  • Previous by thread: Re: Measuring Input/Output latencies
  • Next by thread: Re: Measuring Input/Output latencies
  • Index(es):
    • Date
    • Thread