Re: Is there any clock drift compensation mechanism in the HAL?
Re: Is there any clock drift compensation mechanism in the HAL?
- Subject: Re: Is there any clock drift compensation mechanism in the HAL?
- From: Doug Wyatt <email@hidden>
- Date: Mon, 23 Feb 2004 12:07:07 -0800
On Feb 16, 2004, at 9:28, Stiphane Letz wrote:
Hi,
I am looking at the /Developer/Examples/CoreAudio/HAL/AudioThru/
example that allows to make an audio thru from one CoreAudio device to
another CoreAudio device.
What happens if the 2 devices are actually from 2 different audio
cards that do not run at the exact same sample rate because of
difference in hardware clocks?
Does the HAL contains a system able to compensate any clock drift
differences between the two different devices in this case?
Thanks
Stephane Letz
Stephane,
If the two devices are running at different sample rates (or even only
a small fraction apart), the result is that they'll eventually get out
of sync -- this app doesn't have any code for compensating.
Nor does the HAL .....
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.