Re: TimeStamps.
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>) |