Displaying 1 result from an estimated 1 matches for "cancelareco".
2009 Oct 08
1
2 weeks lost in the AEC world
...n).
I play with a DELAY(in ms) over the playback buffer, and tried a lot of
different tail lenght.
I have not obtained any minimal result of echo cancellation.
Please, if anybody has tested AEC on a VoIP system, any suggestion will
be wellcomed.
the code seems like this:
void ComprimeSpeex::CancelarEco(short *buffer, int tam)
{
wxMutexLocker lock(mx_eco_state);
if(ecosize >= tam+DELAY*8*2) // pass delay(milliseconds) to bytes
{
short *eco = (short*)bufeco+ecosize-tam-DELAY*8; // take from
the last 10 frames - delay
// pass entire packet --> heap corruption
// s...