Dear all:
I am able to run AER in codec engine by calling AER API. But result of acoustic echo cancellation is disappointed. The echo only is cancelled a little.
In codec, aerSendIn(void *aerInst, void *send_in, void *send_out, void *sout_8kHz, void *recv_out_sync, void *sout_pnlp_8kHz,void *trace_buf) is called to process data. The 8K pcm echo data is storaged in send_in buffer;8K pcm synchronized receive path output data is storaged in recv_out_sync buffer. The send_out buffer is output data.
Following is the pcm file:
The aer_tx.pcm is synchronized receive path output data; aer_rx.pcm is echo data;aer_out.pcm is output data through echo cancellation processing.
The pcm files is 8KHz,mono,16-bit intel PCM(LSB,MSB).