Re: mRateScalar stabilization
Re: mRateScalar stabilization
- Subject: Re: mRateScalar stabilization
- From: Jeff Moore <email@hidden>
- Date: Thu, 10 Sep 2009 16:14:33 -0700
On Sep 10, 2009, at 3:06 PM, Dominic Feira wrote:
Why doesn't mRateScalar stabilize to the same value in multiple
processes when using the same device?
The HAL's clock math incorporates a history of the time stamps it has
seen from the driver. The rate scalar is computed based on the
totality of that history. So, despite the same math code running in
all proceses, the rate scalar will differ from process to process
because the time stamp history that the HAL's clock has seen in each
process is slightly different.
Can I at least expect them to be very close?
Yes.
--
Jeff Moore
Core Audio
Apple
_______________________________________________
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