]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: multi: return correct hwptr and avail from snd_pcm_multi_status()
authorYutao Yuan <infmagic2047reg@outlook.com>
Wed, 4 May 2022 03:01:34 +0000 (11:01 +0800)
committerJaroslav Kysela <perex@perex.cz>
Wed, 4 May 2022 13:44:04 +0000 (15:44 +0200)
commit9c0c757b854a063c476014cfba935517383326cd
treea76a0e7440155ca9d61f9259217c9b400f3b2271
parent3f108fc5b85880fc696ce70fbcc55437bd32dab6
pcm: multi: return correct hwptr and avail from snd_pcm_multi_status()

Ensure the logic of snd_pcm_multi_status() is consistent with
snd_pcm_multi_avail_update().

Fixes: https://github.com/alsa-project/alsa-lib/pull/224
Fixes: https://github.com/alsa-project/alsa-lib/issues/217
Signed-off-by: Yutao Yuan <infmagic2047reg@outlook.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_multi.c