mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 12:38:33 +00:00
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:
committed by
Greyson Parrelli
parent
5769287c77
commit
fd6a02a841
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user