summaryrefslogtreecommitdiff
path: root/cmd/dolmetschctld/dolmetschctld.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/dolmetschctld/dolmetschctld.go')
-rw-r--r--cmd/dolmetschctld/dolmetschctld.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/dolmetschctld/dolmetschctld.go b/cmd/dolmetschctld/dolmetschctld.go
index dfbb47a..1df4efb 100644
--- a/cmd/dolmetschctld/dolmetschctld.go
+++ b/cmd/dolmetschctld/dolmetschctld.go
@@ -40,9 +40,9 @@ func addLanguage(sm *StateMachine, name Language, main, voice mixer.Channel) {
func main() {
log.Println("hello world.")
- m, err := mixer.NewMixer(mixer.Config{"ESI MIDIMATE eX MIDI 2", "ESI MIDIMATE eX MIDI 1"})
+ m, err := mixer.NewMixer(mixer.Config{DevIn: "ESI MIDIMATE eX MIDI 2", DevOut: "ESI MIDIMATE eX MIDI 1"})
if err != nil {
- log.Println("Error opening the mixer: %v", err)
+ log.Printf("Error opening the mixer: %v", err)
os.Exit(1)
}
defer m.Shutdown()
@@ -52,7 +52,7 @@ func main() {
log.Printf(" output: %s\t%s", m.DevOut.ID, m.DevOut.Name)
if err = m.Init(); err != nil {
- log.Println("Error initializeing the mixer: %v", err)
+ log.Printf("Error initializeing the mixer: %v", err)
os.Exit(1)
}
log.Printf("mixer successfully initialized!")