diff options
author | Christian Pointner <equinox@spreadspace.org> | 2019-02-11 19:46:19 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2019-02-11 19:46:19 +0100 |
commit | fd2699d8301d9cbc1b7f19642e6b7c858b5745aa (patch) | |
tree | 56f84f48088ad87332326638668d78865ec81310 /cmd/dolmetschctld/telnet.go | |
parent | basic handling of midi events (diff) | |
parent | some more name refactoring (diff) |
Merge branch 'master' of gitspread:dolmetschctl
Diffstat (limited to 'cmd/dolmetschctld/telnet.go')
-rw-r--r-- | cmd/dolmetschctld/telnet.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/dolmetschctld/telnet.go b/cmd/dolmetschctld/telnet.go index d6a5c4a..a7ede85 100644 --- a/cmd/dolmetschctld/telnet.go +++ b/cmd/dolmetschctld/telnet.go @@ -58,7 +58,7 @@ func telnetCmdRatio(c *telgo.Client, args []string, sm *StateMachine) bool { return false } if len(args) == 1 { - c.Sayln("current ratio: %1.3f", sm.GetMain2VoiceRatio()) + c.Sayln("current ratio: %1.3f", sm.GetOriginal2InterpreterRatio()) return false } @@ -68,7 +68,7 @@ func telnetCmdRatio(c *telgo.Client, args []string, sm *StateMachine) bool { return false } - if err := sm.SetMain2VoiceRatio(float32(r)); err != nil { + if err := sm.SetOriginal2InterpreterRatio(float32(r)); err != nil { c.Sayln("setting ratio failed: %v", err) } return false |