summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2019-02-10 00:14:27 +0100
committerChristian Pointner <equinox@spreadspace.org>2019-02-10 00:14:27 +0100
commit450f9f29675bffaf52e7cc39215d1d14982cf783 (patch)
tree49cfe64668910ef91e8ad023a9454c454fc58767 /cmd
parentmixer event subscription works now (diff)
make sure we don't miss events from mixer
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dolmetschctld/statemachine.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dolmetschctld/statemachine.go b/cmd/dolmetschctld/statemachine.go
index c5e5707..d92965a 100644
--- a/cmd/dolmetschctld/statemachine.go
+++ b/cmd/dolmetschctld/statemachine.go
@@ -136,7 +136,7 @@ func NewStateMachine(m *mixer.Mixer) (*StateMachine, error) {
sm.selectLangCh = make(chan selectLangRequest, 10)
sm.quitCh = make(chan bool, 1)
sm.exitedCh = make(chan struct{})
- sm.mixerEventCh = make(chan mixer.Event, 3)
+ sm.mixerEventCh = make(chan mixer.Event, 1000)
sm.languages = make(map[Language]LanguageChannels)
sm.channel2lang = make(map[mixer.Channel]Language)