Displaying 1 result from an estimated 1 matches for "aechandl".
Did you mean:
ae_handle
2009 Feb 13
0
Why speex echo cancellation is not work
...terface 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_SET_SAMPLING_RATE, &tmp);
speex_...