Always use software AEC for known-issue ROMs

Previous logic was to always use software AEC for known-issue
ROMs (lineage, calyxos). That was modified with introduction
of Oboe ADM (643f64e). This commit restores the previous logic
to resolve issues with echo.

Resolves #13925
This commit is contained in:
Jan Krieg 2025-01-19 23:52:31 +01:00 committed by Greyson Parrelli
parent 5769287c77
commit fd6a02a841

View file

@ -21,7 +21,7 @@ object RingRtcDynamicConfiguration {
return if (shouldUseOboeAdm()) { return if (shouldUseOboeAdm()) {
when { when {
shouldUseSoftwareAecForOboe() -> AudioProcessingMethod.ForceSoftwareAec3 shouldUseSoftwareAecForOboe() || isKnownFaultyHardwareImplementation() -> AudioProcessingMethod.ForceSoftwareAec3
else -> AudioProcessingMethod.ForceHardware else -> AudioProcessingMethod.ForceHardware
} }
} else { } else {