[Speex-dev] Echo canceller problem

Jim Crichton jim.crichton at comcast.net
Thu Jun 8 04:24:33 PDT 2006

You should try the code from Subversion before troubleshooting too much.  I 
had a problem like this which was fixed a month ago, but it only appeared on 
a 16-bit DSP.

- Jim

----- Original Message ----- 
From: "A" <ap at fom.pl>
To: <speex-dev at xiph.org>
Sent: Wednesday, June 07, 2006 5:12 PM
Subject: [Speex-dev] Echo canceller problem

> Welcome everybody.
> I am new here on the list. Thank you very much for speex encoder and 
> decoder.
> They are working great. I compile speex coded for str911 Arm processor.
> But I have a big problem with echo canceller from 1.1.12 speex package.
> I create echo canceler state:
>    SpeexEchoState * echo_state = speex_echo_state_init(FRAME_SIZE,
> FRAME_SIZE * 5);
> FRAME_SIZE is in my project 160 samples. I have 8000ksaples/s, so I must
> call echo canceler every 20ms.
> and later in the loop I call it:
>    speex_echo_cancel(echo_state, (short *)Samples, (short
> *)SamplesSpeaker, (short *)SamplesOut, NULL);
> I give as the parameters to the function the data from tables now.
> The problem is when I call speex_echo_cancel it does not return. It goes
> into infinite loop somewhere.
> I test now on the simulator.
> What can cause the infinite looping ?
> Please help.
> _______________________________________________
> 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