[Speex-dev] echo cancellation input/output delay

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Wed Mar 4 13:40:15 PST 2009

Quoting danflu at uninet.com.br:

> speex_echo_cancellation(m_echoState, rec(t), play(t-delta),
> out) is correct ?

Yes and no. If your audio buffering has no delay, then having a positive delta
means the AEC won't see play(t) when it needs to cancel at rec(t), which is
bad. On the other hand, most audio hardware introduces a lot of delay, so
including your delta manes that you reduce that delay, which is OK. As long as
delta is never bigger than the audio delay (OS/hardware-specific).


> If so... how many millisencons this 'delta' is supposed to
> be ?
> Thanks in advance,
> Daniel
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev

More information about the Speex-dev mailing list