• 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: Stéphane Letz <email@hidden>
  • Date: Thu, 25 Aug 2011 11:57:04 +0200

Le 25 août 2011 à 04:58, Ross Bencina a écrit :

> 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.


Well according to this mail:  http://lists.apple.com/archives/coreaudio-api/2008/Aug/msg00160.html

Latencies are supposed to change from stream to stream, in particular depending of Analog/Digital status:

But reading the stream latencies for : MacBook Pro (analog only), Mac Pro (analog/digital), Motu 828 Mk2  (analog/digital), I get 0 for all streams....

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