Displaying 1 result from an estimated 1 matches for "hookoutingsound".
2009 Feb 13
0
Why speex echo cancellation is not work
...t;
SpeexPreprocessState *den;
char* inputBuf;
~AECHandler(void){
speex_echo_state_destroy(this->st);
speex_preprocess_state_destroy(this->den);
}
void HookComingSound(char* buf){
speex_echo_playback(this->st,(spx_int16_t*)buf);
}
void HookOutingSound(char* origin, char* &outbuf){
speex_echo_capture(this->st,(spx_int16_t*)origin,(spx_int16_t*)outbuf);
speex_preprocess_run(this->den,(spx_int16_t*)outbuf);
}
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/piperm...