fix(audio): correct mute state broadcast in audio control service

Use BroadcastAudioMuteChanged instead of BroadcastAudioDeviceChanged to properly reflect mute state changes
This commit is contained in:
Alex P 2025-09-05 22:10:14 +00:00
parent 947b4f9528
commit d3e2b2dff2
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ func (s *AudioControlService) MuteAudio(muted bool) error {
// Broadcast audio mute state change via WebSocket // Broadcast audio mute state change via WebSocket
broadcaster := GetAudioEventBroadcaster() broadcaster := GetAudioEventBroadcaster()
broadcaster.BroadcastAudioDeviceChanged(!muted, "audio_mute_changed") broadcaster.BroadcastAudioMuteChanged(muted)
return nil return nil
} }