[Speex-dev] echo cancellation causes assertion

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Sep 21 05:02:17 PDT 2006


If what you mean is a warning like "internal playback buffer
corruption?" or "had to discard a playback frame", then it means you're
using the API incorrectly.

	Jean-Marc

jesus a écrit :
> Hello,
> 
> i'm adding echo cancellation to my voip application, but when i call
> speex_echo_capture() or speex_echo_playback()  causes an assertion
> failed, it seens that there is a delete in any where.
> 
> i've encapsulated echo canceller in a class that storage the state and
> simply call the functions:
> 
> void EchoCanceller::Playback(short *echo_frame)
> {
>    speex_echo_playback(echo_state, echo_frame);
> }
> 
> void EchoCanceller::Capture(short *input_frame, short *output_frame,
> int* residue)
> {
>    speex_echo_capture(echo_state, input_frame, output_frame, residue);
> }
> 
> the class has been tested, and the problem is in the calls.
> 
> has any body had the same problem?
> 
> than you.
> _______________________________________________
> 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