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

Re: audio output


  • Subject: Re: audio output
  • From: Jeff Moore <email@hidden>
  • Date: Tue, 31 May 2005 13:07:28 -0700

Catching up on the back log. Sorry for the delay.

Your driver should always do it's best to resolve things so that they are in synch. Your second proposal seems to most logical as your driver should always respect the time at which the HAL says to write the data. However, this would only be the case for the first client. Subsequent clients starting up should not cause the video to move.

On May 5, 2005, at 7:05 AM, Tommy Schell wrote:

Hi,

This is a repeat request, as it's kind of a critical question for me. Please help!!

I've got audio data coming into the output buffer of my CoreAudio driver from Final Cut,
and at the same time there is video coming through Quicktime.
So I'm trying to sync the audio/video when playback starts.


My question is: do I assume that audio starts at the beginning of my output buffer (at sample 0),
even if the actual audio data begins somewhere else (around sample 1100 typically)?


Or do I look for where the HAL starts writing data, and mark the start of my first audio frame there?
So that I'm in sync with the first video frame.


Thanks,
Tommy Schell

--

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
References: 
 >audio output (From: Tommy Schell <email@hidden>)

  • Prev by Date: Deadlock in AUHAL?
  • Next by Date: Re: User space driver plug-in problems on Tiger
  • Previous by thread: audio output
  • Next by thread: Latency terminology and computation
  • Index(es):
    • Date
    • Thread