Fix: goimports

This commit is contained in:
Alex P 2025-08-05 01:49:09 +03:00
parent 638d08cdc5
commit a208715cc6
1 changed files with 3 additions and 3 deletions

6
web.go
View File

@ -173,11 +173,11 @@ func setupRouter() *gin.Engine {
return
}
audio.SetAudioMuted(req.Muted)
// Broadcast audio mute state change via WebSocket
broadcaster := GetAudioEventBroadcaster()
broadcaster.BroadcastAudioMuteChanged(req.Muted)
c.JSON(200, gin.H{"muted": req.Muted})
})
@ -314,7 +314,7 @@ func setupRouter() *gin.Engine {
// Broadcast microphone state change via WebSocket
broadcaster := GetAudioEventBroadcaster()
broadcaster.BroadcastMicrophoneStateChanged(true, true)
c.JSON(200, gin.H{
"status": "started",
"running": currentSession.AudioInputManager.IsRunning(),