[Speex-dev] Echo canceller: residue value

Kleijn, J.S. de
Tue, 07 Jun 2005 12:05:43 -0000

Hi Jean-Marc,

For the residue in the echo_cancel function I pass in a pointer to an array of
floats. First I used an array the size of the framesize, but I discovered this
causes crashes because the echo_cancel funtion writes framesize+1 floats to the
pointer.
I find this plus one strange, since almost all things are exactly the framesize.
Is this an error in the echo_cancel function or simply an exception?
Maybe you should define in the manual what exactly the residue is, meaning a
float array of which size?

Greetings Jeroen de Kleijn