From 2b1764b90e12db8a87744630bb69f2005b87dabc Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sun, 1 Mar 2026 18:50:54 +0100 Subject: [PATCH] [fix](trx-backend-soapysdr): restore neutral wfm stereo trim Co-authored-by: OpenAI Codex Signed-off-by: Stan Grams --- .../trx-backend/trx-backend-soapysdr/src/demod/wfm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs b/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs index 3c32f88..270f184 100644 --- a/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs +++ b/src/trx-server/trx-backend/trx-backend-soapysdr/src/demod/wfm.rs @@ -25,9 +25,9 @@ const PILOT_NOTCH_Q: f32 = 5.0; /// Narrow 19 kHz band-pass used to derive zero-crossings for switching stereo demod. const PILOT_BPF_Q: f32 = 20.0; /// Fixed phase trim on the recovered L-R channel. -const STEREO_SEPARATION_PHASE_TRIM: f32 = 0.02; +const STEREO_SEPARATION_PHASE_TRIM: f32 = 0.0; /// Fixed gain trim on the recovered L-R channel. -const STEREO_SEPARATION_GAIN: f32 = 1.12; +const STEREO_SEPARATION_GAIN: f32 = 1.00; /// Extra headroom in the stereo matrix. const STEREO_MATRIX_GAIN: f32 = 1.20; /// Stereo detection runs every N composite samples.