diff options
author | Jaroslav Kysela <perex@perex.cz> | 2010-08-12 08:21:26 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2010-08-12 08:21:26 +0200 |
commit | 0633a966362ce231392ff6283c99142c5bccc1c8 (patch) | |
tree | bc834945974389ecd2c59e63444a9dbaa48dd369 | |
parent | de606e9c256f5a776c1625b174600a539007f38d (diff) | |
download | alsa-lib-0633a966362ce231392ff6283c99142c5bccc1c8.tar.gz |
pcm: Fixed typo (wrong deleted line) instroduced in the minperiodsize patch
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | src/pcm/pcm_params.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pcm/pcm_params.c b/src/pcm/pcm_params.c index c7c3b971..3a90bcd8 100644 --- a/src/pcm/pcm_params.c +++ b/src/pcm/pcm_params.c @@ -1101,6 +1101,7 @@ static int snd_pcm_hw_params_choose(snd_pcm_t *pcm, snd_pcm_hw_params_t *params) if (err < 0) return err; err = snd_pcm_hw_param_set_first(pcm, params, SND_PCM_HW_PARAM_RATE, NULL, 0); + if (err < 0) return err; if (pcm->minperiodtime > 0) { unsigned int min, max; |