alsa-project / alsa-plugins

The Advanced Linux Sound Architecture (ALSA) - plugins
GNU Lesser General Public License v2.1
41 stars 28 forks source link

jack: add option to allow non-jack-aligned period size #14

Closed aditpape closed 3 years ago

aditpape commented 3 years ago

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

aditpape commented 3 years ago

@perexg, @tiwai : any objections or doubts on this PR?

aditpape commented 3 years ago

This PR is also an alternate solution for issue #12 . (The proposed solution for issue #12 itself does not conflict with this PR and could still be considered in addition..)

aditpape commented 3 years ago

@perexg : sorry to ping again... Is there a chance to get it in, now that we even have a linked issue report? THX, Andreas

perexg commented 3 years ago

Merged in 3b6d4fad8ac8361262a6e5efb4b614b1b3dfe764 . Thank you.