Jump to content
  • Advertisement
Sign in to follow this  
nathan123

Synching audio and animated cut scene

This topic is 3980 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi. I have a cutscene that is animated by my graphics engine (in other words, its not an .mov or .avi file)...the animation works fine, but my question is how do I synch it to the audio. I can make sure I start both the animation and the audio at the same time, but that doesnt guarantee that they would be synchronized. What technique is commonly used in these situations? Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Create a separate thread that watches the audio position, then calculate video frame from audio position. The same thread can be used to tell your app when playback is done.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!