Android Echo Cancelation via Speex Library

点点圈 提交于 2019-12-03 08:27:26
Amos

refer to this post: Speex echo cancellation configuration

//send played and recorded shorts into speex, 
//returning audio data with the echo removed
filteredShorts = nativeMethod_speexEchoCancel(recordedShorts, recvShorts);

you should process with "recorded frame" and "received frame", i.e. sound from microphone and speaker, rather than same "buffer"

short b[] = speexEchoCanceler.processEcho(buffer, buffer);
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!