|
|
@ -76,7 +76,7 @@ func loadSupressor(c *pulseaudio.Client, inp input, ui *uistate) error {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
log.Printf("Loaded ladspa sink as idx: %d\n", idx)
|
|
|
|
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",
|
|
|
|
idx, err = c.LoadModule("module-loopback",
|
|
|
|
fmt.Sprintf("source=%s sink=nui_mic_raw_in channels=1 latency_msec=1", inp.ID))
|
|
|
|
fmt.Sprintf("source=%s sink=nui_mic_raw_in channels=1 latency_msec=1", inp.ID))
|
|
|
|