input/alsa: remove the start_threshold setting
This setting is mostly useless for capture devices. There's no point in configuring it.
This commit is contained in:
parent
9f8145e590
commit
d1f3a87c08
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user