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:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user