I used aecm(webrtc)
on my ARM-based embedded device for voice communication. Now, I'm trying to change aecm
to aec
for double-talk echo cancellation.
It's simple in aecm
:
WebRtcAecm_Create()->WebRtcAecm_Init()->WebRtcAecm_BufferFarend()->WebRtcAecm_Process().
And all data(near, far, out)
formats are 16bit signed short. However, just changing functions from WebRtcAecm_* to WebRtcAec_*
and signed-short data to float(divided by 32768) didn't work.
I tried to find some examples in audio_processing unittest
, but couldn't find any. What am I missing?