[Speex-dev] echo cancellation causes assertion
    jesus 
    jmorion at toomeeting.com
       
    Thu Sep 21 03:40:01 PDT 2006
    
    
  
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.
    
    
More information about the Speex-dev
mailing list