]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: rate: Add error check for snd_pcm_avail_update()
authorTimo Wischer <twischer@de.adit-jv.com>
Wed, 4 Jul 2018 13:39:49 +0000 (15:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Jul 2018 13:41:21 +0000 (15:41 +0200)
commit2c04ea1f297a9a7513ee8107cce1568c9bfc52aa
treef1fd2c1526751078546dc83193c2522f6257451d
parent2972f2f9662aaf050addf6254363164ef8bf676e
pcm: rate: Add error check for snd_pcm_avail_update()

Without these changes a negative error code returned by
snd_pcm_avail_update() will be not handled correctly.

With this patch the returned error code of snd_pcm_avail_update() will be
returned by snd_pcm_rate_avail_update().

Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/pcm/pcm_rate.c