mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
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:
parent
24b113e2d3
commit
1aef910dcc
2 changed files with 75 additions and 23 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue