[go: up one dir, main page]

Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
plugin/volume: fix regression in check muted
Browse files Browse the repository at this point in the history
  • Loading branch information
zllovesuki committed Dec 9, 2020
1 parent dc5b16c commit 39c024d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cxx/plugin/volume/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func (c *Control) doCheckMute() error {
case -1:
return fmt.Errorf("Cannot check microphone muted status")
default:
c.isMuted = ret == 0
c.isMuted = ret == 1
log.Printf("wca: current microphone mute is %v\n", c.isMuted)
return nil
}
Expand Down

0 comments on commit 39c024d

Please sign in to comment.