audio sync problem
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