search for: add_in_output_queue

Displaying 2 results from an estimated 2 matches for "add_in_output_queue".

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
2006 Nov 02
1
echo cancellation on PDA
...peex_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 a sampling rate of 8000 Hz, 128-sample frame size and 1028-sample > >> tail length. > > In my appl...