mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-21 20:30:55 +00:00
fix bug in togglecmd
This commit is contained in:
parent
8bb8336599
commit
c7a265fb33
@ -113,7 +113,7 @@ func toggleCmd(vm *voicemeeter.Remote, cmd string, verbose bool) error {
|
||||
err = fmt.Errorf("unable to toggle %s", cmd)
|
||||
return err
|
||||
}
|
||||
vm.SetFloat(cmd[1:], 1-val)
|
||||
vm.SetFloat(cmd, 1-val)
|
||||
if verbose {
|
||||
fmt.Println("Toggling", cmd)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user