]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: hw - fix snd_pcm_hw_state()
authorJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 13:29:22 +0000 (15:29 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 13:30:45 +0000 (15:30 +0200)
commit2c8e31f50906fb51bcd16336886dc1b77b1208c8
tree68578d0da6b6ffe659e631e2c41ed500e8ccb90c
parent6b728405697e38339773a6901ca8f557c89f0088
pcm: hw - fix snd_pcm_hw_state()

The pcm status function should not return an error code.
Return always only the mmaped status.

Fixes: https://github.com/alsa-project/alsa-lib/issues/137
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_hw.c