mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
jack: add per client match rules
This makes it possible to configure per client settings such as latency and later also to lock the quantum for certain clients. See #1456
This commit is contained in:
parent
d2826a5dab
commit
4e087caa2b
4 changed files with 184 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ context.modules = [
|
|||
{ name = libpipewire-module-metadata }
|
||||
]
|
||||
|
||||
# global properties for all jack clients
|
||||
jack.properties = {
|
||||
#node.latency = 1024/48000
|
||||
#jack.merge-monitor = false
|
||||
|
|
@ -69,3 +70,22 @@ jack.properties = {
|
|||
# ignore-all: Ignore all self connect requests
|
||||
#jack.self-connect-mode = allow
|
||||
}
|
||||
|
||||
# client specific properties
|
||||
jack.rules = [
|
||||
{
|
||||
matches = [
|
||||
{
|
||||
# all keys must match the value. ~ starts regex.
|
||||
#client.name = "Carla"
|
||||
#application.process.binary = "jack_simple_client"
|
||||
#application.name = "~jack_simple_client.*"
|
||||
}
|
||||
]
|
||||
actions = {
|
||||
update-props = {
|
||||
#node.latency = 512/48000
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue