mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-06 01:40:09 -05:00
pcm: Fixed typo (wrong deleted line) instroduced in the minperiodsize patch
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
de606e9c25
commit
0633a96636
1 changed files with 1 additions and 0 deletions
|
|
@ -1101,6 +1101,7 @@ static int snd_pcm_hw_params_choose(snd_pcm_t *pcm, snd_pcm_hw_params_t *params)
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
err = snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_RATE, NULL, 0);
|
err = snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_RATE, NULL, 0);
|
||||||
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
if (pcm->minperiodtime > 0) {
|
if (pcm->minperiodtime > 0) {
|
||||||
unsigned int min, max;
|
unsigned int min, max;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue