• 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: Host Time epoch
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >Host Time epoch (From: Geoff Schmidt <email@hidden>)
 >Re: Host Time epoch (From: Jeff Moore <email@hidden>)
 >Re: Host Time epoch (From: Steve Checkoway <email@hidden>)

  • Prev by Date: AUs "disappear" in 10.3.8 - Bug?
  • Next by Date: Re: Host Time epoch
  • Previous by thread: Re: Host Time epoch
  • Next by thread: AU Val and AU's with UI
  • Index(es):
    • Date
    • Thread