• 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: Is there any clock drift compensation mechanism in the HAL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Is there any clock drift compensation mechanism in the HAL? (From: Stéphane Letz <email@hidden>)

  • Prev by Date: Re: Misc: Live Window resizing
  • Next by Date: Re: AudioDeviceGetCurrentTime...
  • Previous by thread: Is there any clock drift compensation mechanism in the HAL?
  • Next by thread: Re: Is there any clock drift compensation mechanism in the HAL?
  • Index(es):
    • Date
    • Thread