mirror of
https://github.com/onyx-and-iris/voicemeeter.git
synced 2024-11-22 04:40:53 +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)
|
err = fmt.Errorf("unable to toggle %s", cmd)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
vm.SetFloat(cmd[1:], 1-val)
|
vm.SetFloat(cmd, 1-val)
|
||||||
if verbose {
|
if verbose {
|
||||||
fmt.Println("Toggling", cmd)
|
fmt.Println("Toggling", cmd)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user