]> git.alsa-project.org Git - alsa-lib.git/commit
pcm, rate: hw_avail must not be negative before starting the stream
authorAlexander E. Patrakov <patrakov@gmail.com>
Mon, 15 Sep 2014 14:17:47 +0000 (20:17 +0600)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Sep 2014 17:26:20 +0000 (19:26 +0200)
commit048568bbea700dfd9921b40321f8d5aa7e5ef417
tree2374a3ef6e394847c93a9c11aadb6740ef94fbb8
parent650b8c975cd5c3f7dca6e78e74db587b57bcdfd8
pcm, rate: hw_avail must not be negative before starting the stream

If it is, then it means most likely the driver problem, so we should
return error immediately instead.

Signed-off-by: Alexander E. Patrakov <patrakov@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_rate.c