search for: recorded_buf

Displaying 3 results from an estimated 3 matches for "recorded_buf".

Did you mean: decoded_buf
2006 Nov 02
2
echo cancellation on PDA
2006/11/2, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>: > > Today I tried speex echo cancellation on my VoIP application running > > on a windows mobile based PDA (OMAP1510 168MHz). The result is > > disappointing: it takes 150-250 ms to do echo cancellation (by calling > > speex_echo_capture() ) for a 20 ms frame! > > Are you by any chance using an insane
2009 Oct 16
1
Please help in understanding Speex echo cancellation
...ncellationI'm using waveInXXXX and waveOutXXXX API. I'm doing quite simple thing: After buffer is played (I get MM_WOM_DONE message) I'm just copying it's content to temporary playback buffer After buffer is recorded (I get MM_WIM_DONE message) I call speex_echo_cancellation(state, recorded_buf, playback_buf, out); Access to playback buffer is synchronized, so it is not being read and filled at the same time. I'm using the same soundcard for both recording and playback Speex doesn't seem to cancel any echo at all. My frame size is 20 msec long (640 samples, ultra-wideband), Filt...
2006 Nov 02
1
echo cancellation on PDA
...TE,&tmp); In playing thread: receive incoming RTP packet; decode(encoded_buf,decoded_buf); speex_echo_playback(echo_state,decoded_buf); add_in_play_queue(decoded_buf) In Recording thread wait for recorded data coming (every 20ms); short* mic = reinterpret_cast<short*>(recorded_buf); speex_echo_capture(echo_state,mic,mic,NULL); decode(recorded_buf,encoded_buf); add_in_output_queue(encoded_buf); 2006/11/3, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca>: > >> Are you by any chance using an insane sampling rate and/or tail length. > >> Try...