search for: ref_fd

Displaying 4 results from an estimated 4 matches for "ref_fd".

Did you mean: ref_df
2008 Aug 11
2
AEC stops working in 1.2-rc1?
...did the following changes to testecho.c: - changed the frame size and tail length: #define NN 80 #define TAIL 1600 - apply the delay before entering the "while" loop by adding: { int i; for (i=0; i<10; ++i) fread(ref_buf, sizeof(short), NN, ref_fd); } The result, testecho from beta3 can cancel the echo, while the rc1 version can't. I hope I made it clearer this time. Thanks Benny -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20080811/2319d9fe...
2005 Dec 20
1
testecho fix
...ttached. -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
..._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); } void HookCom...
2008 Aug 09
2
AEC stops working in 1.2-rc1?
On Sat, Aug 9, 2008 at 12:59 PM, Jean-Marc Valin < jean-marc.valin at usherbrooke.ca> wrote: > Hi Benny, > > Can you send me your pair of testecho input files that work well with > beta3 and not with rc1? I'll have a look. > > Thanks for the help. The files are on their way now, the upload will take few more minutes to complete. In the mean time let me explain more