From 13424ee2d03e61edb99b0816241192ad45bb2b59 Mon Sep 17 00:00:00 2001 From: lawl Date: Mon, 6 Jul 2020 16:35:19 +0200 Subject: [PATCH] wait longer after loading ladspa sink, still crashed --- module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module.go b/module.go index 084ab9e..3ffdec7 100644 --- a/module.go +++ b/module.go @@ -76,7 +76,7 @@ func loadSupressor(c *pulseaudio.Client, inp input, ui *uistate) error { } log.Printf("Loaded ladspa sink as idx: %d\n", idx) - time.Sleep(time.Millisecond * 500) // pulseaudio actually crashes if we send these too fast + time.Sleep(time.Millisecond * 1000) // pulseaudio actually crashes if we send these too fast idx, err = c.LoadModule("module-loopback", fmt.Sprintf("source=%s sink=nui_mic_raw_in channels=1 latency_msec=1", inp.ID))