google / oboe

Oboe is a C++ library that makes it easy to build high-performance audio apps on Android.
Apache License 2.0
3.71k stars 568 forks source link

Samsung A70 and A52 not performing AEC with Oboe #1405

Open abu100 opened 3 years ago

abu100 commented 3 years ago

Android version(s): Android 11 Android device(s): Samsung A70, Samsung A52 Oboe version: 1.6.1 App name used for testing: Oboetester 2.2.2

Short description Both these phones are not effectively able to perform acoustic echo cancellation.

Steps to reproduce Set callback to 480 SetspeakerphoneOn(tick) enable oboe workarounds(tick)

In Echo input output activity, Inpreset for input is set to VoiceComm

Output Usage set to Media or VoiceComm

Expected behavior Echo should be cancelled.

Actual behavior Echo is not cancelled and you get to hear yourself over and over again.

Device I have reproduced this on Samsung A52 and A70. This issue is not present if Java audiotrack and record are used.

philburk commented 3 years ago

Perhaps there is automatic AEC on Legacy path but not on MMAP.

abu100 commented 3 years ago

Unchecking MMAP and exclusive flags has no effect. I can still hear echo. I also ticked oboe workarounds.

abu100 commented 2 years ago

Hey Philburk, Any updates regarding this issue?