feat(icom): the speaker choice appears beside the RX-audio option too

Same remembered preference as the console's speaker button, surfaced where
the stream itself is enabled — tick RX audio and decide in the same breath
whether it reaches the speakers. Applied immediately, no save needed.
This commit is contained in:
2026-08-29 20:02:28 +02:00
parent b244575937
commit 7ac342e2d4
6 changed files with 38 additions and 4 deletions
+7
View File
@@ -21105,3 +21105,10 @@ func (a *App) CheckHamlogKey(key string) (string, error) {
defer cancel()
return extsvc.CheckHamlogKey(ctx, nil, key)
}
// GetAudioMonitorPref says whether the network RX audio should be played
// through the Listening device — the remembered speaker choice behind the
// console's speaker button and the CAT panel's checkbox.
func (a *App) GetAudioMonitorPref() bool {
return a.settingOr(keyAudioMonitorOn, "1") == "1"
}