Commit d1f3a87c authored by Max Kellermann's avatar Max Kellermann

input/alsa: remove the start_threshold setting

This setting is mostly useless for capture devices. There's no point in configuring it.
parent 9f8145e5
...@@ -386,11 +386,6 @@ ConfigureCapture(snd_pcm_t *capture_handle, ...@@ -386,11 +386,6 @@ ConfigureCapture(snd_pcm_t *capture_handle,
snd_pcm_sw_params_free(sw_params); snd_pcm_sw_params_free(sw_params);
}; };
if ((err = snd_pcm_sw_params_set_start_threshold(capture_handle, sw_params,
period)) < 0)
throw FormatRuntimeError("unable to set start threshold (%s)",
snd_strerror(err));
if ((err = snd_pcm_sw_params(capture_handle, sw_params)) < 0) if ((err = snd_pcm_sw_params(capture_handle, sw_params)) < 0)
throw FormatRuntimeError("unable to install sw params (%s)", throw FormatRuntimeError("unable to install sw params (%s)",
snd_strerror(err)); snd_strerror(err));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment