Displaying 1 result from an estimated 1 matches for "speex_nn".
Did you mean:
  speex_en
  
2009 Feb 13
0
Why speex echo cancellation is not work
I have invoke the speex echo cancellation interface as follow, but it seems not work (the echo still exists, my testbed is a small udp based p2p voice chat software). Can anyone tell me why it doesn't work? or whether I have made some mistake? Thanks a lot.
#define SPEEX_SAMPLERATE 8000
#define SPEEX_NN 128
#define SPEEX_TAIL 1920
class AECHandler
{
public:
    AECHandler(void){
        this->st = speex_echo_state_init(SPEEX_NN, SPEEX_TAIL);
        int tmp = SPEEX_SAMPLERATE;
        this->den = speex_preprocess_state_init(SPEEX_NN, SPEEX_SAMPLERATE);
        speex_echo_ctl(st, SPEEX_ECHO_...