Hi, What is the required size of the echo residue buffer in speex_echo_cancel function? The mdf.c source would suggest that it's frame_size + 1, while preprocessor.c source claims it's frame_size. Bug? Or am I missing something? I am using 1.2beta1. Thanks, Gregg
I suggest you have a look at the new API I introduced in svn (see testecho.c). It's easier to use, harder to screw up, and it means I can improve it in the future without breaking things. Jean-Marc Gregg Lewandowski a ?crit :> Hi, > > What is the required size of the echo residue buffer in > speex_echo_cancel function? > > The mdf.c source would suggest that it's frame_size + 1, while > preprocessor.c source claims it's frame_size. > > Bug? Or am I missing something? I am using 1.2beta1. > > Thanks, > Gregg > _______________________________________________ > Speex-dev mailing list > Speex-dev@xiph.org > http://lists.xiph.org/mailman/listinfo/speex-dev > >
Jean-Marc Valin wrote:> I suggest you have a look at the new API I introduced in svn (see > testecho.c). It's easier to use, harder to screw up, and it means I can > improve it in the future without breaking things. > > Jean-MarcThanks for your response. Yes, I followed The World Institute for Mental Health recommendation. :) But I think the problem might still present in the new API. Specifically, speex_get_echo_residual function fills up (frame_size + 1) elements. It's entirely possible (and even likely) that I'm missing something but isn't it supposed to use frame_size elements? Thanks, Gregg