From b8aa110705d2ef81028386f5d7bd1d1f2d086715 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 11 Feb 2019 00:19:06 +0100 Subject: better nameing than main and voice --- cmd/dolmetschctld/telnet.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cmd/dolmetschctld/telnet.go') 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 -- cgit v1.2.3