[fix](trx-backend-soapysdr): raise AM audio gain

Retune the AM audio AGC target, timing, and headroom so the restored envelope demod path plays back at a stronger level.

Co-authored-by: Stan Grams <sjg@haxx.space>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-03 01:59:50 +01:00
parent c1ed936c2e
commit 605531184b
@@ -14,7 +14,7 @@ fn agc_for_mode(mode: &RigMode, audio_sample_rate: u32) -> SoftAgc {
let sr = audio_sample_rate.max(1) as f32;
match mode {
RigMode::CW | RigMode::CWR => SoftAgc::new(sr, 1.0, 50.0, 0.5, 30.0),
RigMode::AM => SoftAgc::new(sr, 500.0, 5_000.0, 0.5, 30.0),
RigMode::AM => SoftAgc::new(sr, 250.0, 4_000.0, 0.8, 40.0),
_ => SoftAgc::new(sr, 5.0, 500.0, 0.5, 30.0),
}
}