Displaying 1 result from an estimated 1 matches for "mx_eco_st".
2009 Oct 08
1
2 weeks lost in the AEC world
...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
// speex_echo_cancellation(echo_state, (short*)buffer, eco,
(s...