jack: make jack_bufsize adjust the global quantum

Bind to the settings metadata.
Add a property to control if a client will set a temporary or global
quantum whith jack_bufsize.
Make a match rule for jack_bufsize and force a global quantum change.

Fixes #1273
This commit is contained in:
Wim Taymans 2022-10-20 16:34:47 +02:00
parent 24b113e2d3
commit 1aef910dcc
2 changed files with 75 additions and 23 deletions

View file

@ -83,6 +83,7 @@ jack.properties = {
#jack.locked-process = true
#jack.default-as-system = false
#jack.fix-midi-events = true
#jack.global-buffer-size = false
}
# client specific properties
@ -102,4 +103,16 @@ jack.rules = [
}
}
}
{
matches = [
{
application.process.binary = "jack_bufsize"
}
]
actions = {
update-props = {
jack.global-buffer-size = true
}
}
}
]