From 450f9f29675bffaf52e7cc39215d1d14982cf783 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 10 Feb 2019 00:14:27 +0100 Subject: make sure we don't miss events from mixer --- cmd/dolmetschctld/statemachine.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/dolmetschctld') 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) -- cgit v1.2.3