• 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
Sync Quicktime and CoreAudio
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sync Quicktime and CoreAudio


  • Subject: Sync Quicktime and CoreAudio
  • From: Geoff Hufford <email@hidden>
  • Date: Wed, 17 May 2006 10:38:50 -0500

I am playing a QT video with sound (displayed in the Cocoa movie controller), and have a CoreAudio graph that is pulling multiple streams of audio from the hard disk. My current method of synchronizing the two is very LOW TECH - I tell the QT controller to play, and start the Graph. At some unknown point in the future both media devices are going make sound. They are generally <.1 second apart but it is variable.

I would now like to implement an approach that is more precise. The first steps I have taken is that the CA file players I am using will preload the buffers from disk so that there is the least amount of time between the StartGraph and when we hear sound.
In the QT controller I am looking at the ActionCallback mcActionPlay because it is the closest point to actual playback that I am aware of. These may shorten the time between start and actual play, but what I am hoping exists is a more precise method.

Are there any better approaches I should be trying?

Thanks,
Geoff Hufford

 _______________________________________________
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

  • Prev by Date: Re: Host Support for Cocoa UI AU's
  • Next by Date: Re: Host Support for Cocoa UI AU's
  • Previous by thread: Re: MIDI output in AU
  • Next by thread: accurate method for detecting number of output channels?
  • Index(es):
    • Date
    • Thread