Fix issue when changing default device

pull/71/head 0.7.3-beta
lawl 4 years ago
parent 02665f12db
commit 7dfd54e878

@ -107,7 +107,7 @@ func loadSupressor(c *pulseaudio.Client, inp input, ui *uistate) error {
time.Sleep(time.Millisecond * 1000) // pulseaudio gets SIGKILL'd because of RLIMITS 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))
fmt.Sprintf("source=%s sink=nui_mic_raw_in channels=1 latency_msec=1 source_dont_move=true sink_dont_move=true", inp.ID))
if err != nil {
return err
}

Loading…
Cancel
Save