• 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: Jeff Moore <email@hidden>
  • Date: Mon, 23 Feb 2004 12:22:52 -0800

The HAL deals with devices on an individual level and consequently has no basis to judge drift or have anything to compensation for it.

The AudioThru sample code doesn't really concern itself with drift between devices too much. It buffers the input sufficiently to keep the output from starving.

The HAL does provide enough information that an application could control a varispeed unit to do the compensation though.

On Feb 16, 2004, at 9:28 AM, 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?

--

Jeff Moore
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: AudioDeviceGetCurrentTime...
  • Next by Date: Re: AudioUnit Effect: undefined symbols
  • Previous by thread: Re: Is there any clock drift compensation mechanism in the HAL?
  • Next by thread: Ptr and NSData
  • Index(es):
    • Date
    • Thread