From 9e395b6b74dc11e3f5aa0a828ad561fc1e79f1cd Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Thu, 11 Jun 2026 17:46:25 -0700 Subject: [PATCH] spa: aec: Make sure webrtc GainController1 settings actually take effect --- spa/plugins/aec/aec-webrtc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spa/plugins/aec/aec-webrtc.cpp b/spa/plugins/aec/aec-webrtc.cpp index f81e0be54..4c0a60574 100644 --- a/spa/plugins/aec/aec-webrtc.cpp +++ b/spa/plugins/aec/aec-webrtc.cpp @@ -218,6 +218,8 @@ static int webrtc_init2(void *object, const struct spa_dict *args, config.gain_controller1.enabled = gain_control1; config.gain_controller1.mode = agc1_mode; + // This must be explicitly disabled for the above mode to take effect + config.gain_controller1.analog_gain_controller.enabled = false; config.gain_controller2.enabled = gain_control2; config.gain_controller2.adaptive_digital.enabled =