• 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: TimeStamps.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TimeStamps.


  • Subject: Re: TimeStamps.
  • From: Kurt Revis <email@hidden>
  • Date: Wed, 10 Apr 2002 12:05:02 -0700

On Wednesday, April 10, 2002, at 09:27 AM, Ken Wieschhoff wrote:

Is there a method to convert a AudioTimeStamp into a duration? I'm trying to sync a video track with an audio track and I'd like to dump the AudioTimeStamps into some form I'm familiar, e.g. nanoseconds since system start, etc. to find a drift problem I'm having.

You want AudioConvertHostTimeToNanos() and AudioConvertNanosToHostTime(). See the comments in HostTime.h (inside CoreAudio.framework), or wherever the Java docs are if you're using Java.

--
Kurt Revis
email@hidden
_______________________________________________
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: 
 >TimeStamps. (From: Ken Wieschhoff <email@hidden>)

  • Prev by Date: TimeStamps.
  • Next by Date: Re: TimeStamps.
  • Previous by thread: TimeStamps.
  • Next by thread: Re: TimeStamps.
  • Index(es):
    • Date
    • Thread