As an example:
PCM captured by microphone:
1, {2,3} {4,5} {6,7}, 8, 9,
{A,B} means A is the audio data I really want to capture, B is the echo at the same time. A and B both captured by mic at the same time.
The issue I encounter: the audio 2, 4 and 6 are also cancelled while cancelling 3, 5 and 7.
This is my code:
WebRtcAecm_Init( &aecm , 8000 );
While ( aecProcessing )
{
WebRtcAecm_BufferFarend( speakerBuffer );
WebRtcAecm_Process( aecm , micBuffer , NULL , aecBuffer , 160 , 200 );
}