Displaying 2 results from an estimated 2 matches for "echo_fd".
Did you mean:
echo_cmd
2005 Dec 20
1
testecho fix
...g patch attached.
-r
-------------- next part --------------
Index: libspeex/testecho.c
===================================================================
--- libspeex/testecho.c (revision 10661)
+++ libspeex/testecho.c (working copy)
@@ -17,7 +17,7 @@
int main(int argc, char **argv)
{
int echo_fd, ref_fd, e_fd;
- float noise[NN+1];
+ spx_int32_t noise[NN+1];
short echo_buf[NN], ref_buf[NN], e_buf[NN];
SpeexEchoState *st;
SpeexPreprocessState *den;
2009 Feb 13
0
Why speex echo cancellation is not work
...init(SPEEX_NN, SPEEX_SAMPLERATE);
speex_echo_ctl(st, SPEEX_ECHO_SET_SAMPLING_RATE, &tmp);
speex_preprocess_ctl(den, SPEEX_PREPROCESS_SET_ECHO_SUPPRESS_ACTIVE, st);
//int tmp1 = 1;
//speex_preprocess_ctl(den, SPEEX_PREPROCESS_SET_AGC, &tmp1);
}
//FILE *echo_fd, *ref_fd, *e_fd;
short echo_buf[SPEEX_NN], ref_buf[SPEEX_NN], e_buf[SPEEX_NN];
SpeexEchoState *st;
SpeexPreprocessState *den;
char* inputBuf;
~AECHandler(void){
speex_echo_state_destroy(this->st);
speex_preprocess_state_destroy(this->den);
}
voi...