]> git.alsa-project.org Git - alsa-plugins.git/commit
jack: add option to allow non-jack-aligned period size
authorAndreas Pape <apape@de.adit-jv.com>
Tue, 24 Nov 2020 15:48:03 +0000 (16:48 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 25 May 2021 15:35:44 +0000 (17:35 +0200)
commit3b6d4fad8ac8361262a6e5efb4b614b1b3dfe764
treec6d9cfd7e5ccc78a2e0dd765600791c6d5abeeac
parent3bd62394e75835df5dd0a9874c70213cdf72757d
jack: add option to allow non-jack-aligned period size

Commit 72337f1dcb2df6a2b7fdae93e88d7dd3a7e97ab4 forces ALSA period size
to be exact multiple of the JACK daemon period size.
There are good reasons to align the period size, but completely disallowing non aligned periods is too restrictive.
This patch adds an option "align_psize" which allows to optionally revert to original behavior.

Signed-off-by: Andreas Pape <apape@de.adit-jv.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
jack/pcm_jack.c