diff --git a/main.go b/main.go index 82ba670..dfc2940 100644 --- a/main.go +++ b/main.go @@ -228,6 +228,7 @@ func (player *StreamPlayer) Mute() { if player.IsPlaying() { if player.otoPlayer.Volume() > 0 { player.currentVolume = player.otoPlayer.Volume() + player.otoPlayer.SetVolume(0.0) } else { player.otoPlayer.SetVolume(player.currentVolume) }