Re: conversion needed for syncing audio and video
Re: conversion needed for syncing audio and video
- Subject: Re: conversion needed for syncing audio and video
- From: Jeff Moore <email@hidden>
- Date: Thu, 10 May 2007 11:55:00 -0700
If your time stamp doesn't already have the host time field populated,
you need to convert the sample time to host time using
AudioDeviceTranslateTime(). From there, you can put the host time in a
CVTimeStamp and use CVDisplayLinkTranslateTime to get to whichever
video time base you want that the display link supports.
On May 10, 2007, at 9:08 AM, Chase wrote:
Does anyone on here know how to convert the sample time of a core
audio unit into a CVTimeStamp (that i can then use to determine
which frame to display in a video being played by core video)?
Just trying to sync audio and video. Nothing more.
--
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