Re: Host Time epoch
Re: Host Time epoch
- Subject: Re: Host Time epoch
- From: Jeff Moore <email@hidden>
- Date: Thu, 10 Feb 2005 13:00:58 -0800
As I said in my earlier message AudioGetCurrentHostTime uses the
routines in <mach/mach_time.h> and thus has nothing to do with the
audio hardware and doesn't have the bug you are referring to.
Also, given that AudioDeviceGetCurrentTime() does have the bug you are
referring to, you should write your app with that in mind rather than
wait for it to be fixed so that you have the broadest compatibility
possible.
On Feb 10, 2005, at 11:54 AM, Steve Checkoway wrote:
On Feb 9, 2005, at 3:09 PM, Jeff Moore wrote:
The source of the time the HAL provides is the system bus clock. It
is accessed via the routines in <mach/mach_time.h>. This counter is
reset at boot time and increments monotonically at the system bus
clock speed (I think).
I still have yet to get the time from AudioDeviceGetCurrentTime to
increase monotonically. I was told that this was fixed with the next
version of Mac OS X but I have now updated versions twice and it is
still an issue with 10.3.8.
Unless AudioGetCurrentHostTime uses an entirely different method of
computing times, I would not count on monotonicity.
--
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