]> git.alsa-project.org Git - alsa-plugins.git/commit
pcm_a52: Determine virtual hardware pointer upon slave pointer
authorAlexander Motzkau <a.motzkau@web.de>
Wed, 18 Mar 2020 21:28:05 +0000 (22:28 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 16:01:02 +0000 (18:01 +0200)
commit47b6c3c415fd01c9c0a639e465c4113a8c0fc81a
tree6935ce075f5f64049e1560798cbb252dcff7cb43
parentd594c4a311ad523de35bc6ea6d93e0232405f3e7
pcm_a52: Determine virtual hardware pointer upon slave pointer

Calculate the pointer upon the hardware pointer of the slave by
querying its available frames. Thereby we can guarantee that our
transfer routine will accept as many frames as the pointer indicates.

BugLink: https://github.com/alsa-project/alsa-plugins/pull/8
Signed-off-by: Alexander Motzkau <a.motzkau@web.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
a52/pcm_a52.c