Resample to 48000Hz

pull/43/head 0.5.0-beta
lawl 4 years ago
parent b1a0034754
commit d26faa6998

@ -83,7 +83,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
log.Printf("Loading supressor\n")
idx, err := c.LoadModule("module-null-sink", "sink_name=nui_mic_denoised_out")
idx, err := c.LoadModule("module-null-sink", "sink_name=nui_mic_denoised_out rate=48000")
if err != nil {
return err
}

Loading…
Cancel
Save