[fix](trx-rs): remove wfm denoise and default stereo audio

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-02-28 22:01:17 +01:00
parent d6c89bcc6b
commit df1bbf8f5b
15 changed files with 4 additions and 169 deletions
-2
View File
@@ -299,7 +299,6 @@ mod tests {
cw_center_hz: 700,
wfm_deemphasis_us: 75,
wfm_stereo: true,
wfm_denoise: true,
wfm_stereo_detected: false,
}),
..minimal_snapshot()
@@ -338,7 +337,6 @@ mod tests {
cw_center_hz: 700,
wfm_deemphasis_us: 50,
wfm_stereo: true,
wfm_denoise: true,
wfm_stereo_detected: true,
}),
..minimal_snapshot()
-2
View File
@@ -52,7 +52,6 @@ pub fn client_command_to_rig(cmd: ClientCommand) -> RigCommand {
RigCommand::SetWfmDeemphasis(deemphasis_us)
}
ClientCommand::SetWfmStereo { enabled } => RigCommand::SetWfmStereo(enabled),
ClientCommand::SetWfmDenoise { enabled } => RigCommand::SetWfmDenoise(enabled),
ClientCommand::GetSpectrum => RigCommand::GetSpectrum,
}
}
@@ -98,7 +97,6 @@ pub fn rig_command_to_client(cmd: RigCommand) -> ClientCommand {
ClientCommand::SetWfmDeemphasis { deemphasis_us }
}
RigCommand::SetWfmStereo(enabled) => ClientCommand::SetWfmStereo { enabled },
RigCommand::SetWfmDenoise(enabled) => ClientCommand::SetWfmDenoise { enabled },
RigCommand::GetSpectrum => ClientCommand::GetSpectrum,
}
}
-1
View File
@@ -40,7 +40,6 @@ pub enum ClientCommand {
SetFirTaps { taps: u32 },
SetWfmDeemphasis { deemphasis_us: u32 },
SetWfmStereo { enabled: bool },
SetWfmDenoise { enabled: bool },
GetSpectrum,
}