Displaying 1 result from an estimated 1 matches for "bufeco".
Did you mean:
bufec
2009 Oct 08
1
2 weeks lost in the AEC world
...s 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,
(short*)salida);
// pass each 20 ms packet
for(int i=0;i<1600;i+=160)
{
speex_echo_cancella...