]> git.alsa-project.org Git - alsa-lib.git/commit
pcm: direct plugins - fix hw_ptr in the status callback
authorJaroslav Kysela <perex@perex.cz>
Mon, 21 Jun 2021 07:28:41 +0000 (09:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 21 Jun 2021 07:28:43 +0000 (09:28 +0200)
commitdd609ef9684987d3ca61d5c5cc3c77589ff9c29f
tree6ddc37eecd59ceaf22202a6d472270f244de1fca
parent212c6c18c4317af48c007a0866efc029b9c3a593
pcm: direct plugins - fix hw_ptr in the status callback

The parent hw_ptr may be in another range (boundary limit).
Set the correct value for the caller.

BugLink: https://github.com/alsa-project/alsa-lib/issues/155
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/pcm/pcm_dmix.c
src/pcm/pcm_dshare.c
src/pcm/pcm_dsnoop.c