how to calculate latency?
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