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

audio sync problem


  • Subject: audio sync problem
  • From: Guillermo Lapresta <email@hidden>
  • Date: Thu, 16 Jun 2005 10:50:22 +0200

Hi all,

I'm building an app which mixes various audio streams. The source of each stream is QT (a modified QTSoundFilePlayer), then passed to three param EQ, then are mixed with a 3DMixer and the result finally go through a dynamics processor and to the default output. A simple diagram:

  Src 1 -> EQ ->
                            -> 3DMixer -> Dynamics -> Out
  Src n -> EQ ->

The problem: Let's suppose we have a sound in src1 and the same sound in src2. The result is that the mixed stream is not the desired (the sound amplified and eq'd), it is mixed with a strange *random* latency so a weird delay effect appears. I've verified that there are no buffer underruns, and that in my render callbacks the audio is served at a exact position of mSampleTime.

I've tried shrinking the buffers of the audio units with no result. Can anyone give me a pointer of what's happening? In theory, 3DMixer pulls from each of its inputs and when it has a something to mix from each of them, it mixes it, doesn't it?

Thanks in advance, and sorry for my bad english.

_______________________________________________
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


  • Follow-Ups:
    • Re: audio sync problem
      • From: Chris Rogers <email@hidden>
    • Re: audio sync problem
      • From: Greg Chapman <email@hidden>
  • Prev by Date: Re: Component on top of a driver?
  • Next by Date: Automatically initialising an AudioBufferList for input of data
  • Previous by thread: Re: Component on top of a driver?
  • Next by thread: Re: audio sync problem
  • Index(es):
    • Date
    • Thread