jack: use node.passive to make passive links

Let the node.passive property make passive links. PIPEWIRE_LINK_PASSIVE
overrides the node property.

Add some nice tweaks for qsynth so that it suspends and fades out
nicely by default.
This commit is contained in:
Wim Taymans 2022-11-21 16:02:30 +01:00
parent ead59e750f
commit 8e9b136b10
2 changed files with 16 additions and 7 deletions

View file

@ -104,15 +104,22 @@ jack.rules = [
}
}
}
{
matches = [
{
application.process.binary = "jack_bufsize"
}
{ matches = [
{ application.process.binary = "jack_bufsize" }
]
actions = {
update-props = {
jack.global-buffer-size = true
jack.global-buffer-size = true # quantum set globally using metadata
}
}
}
{ matches = [
{ application.process.binary = "qsynth" }
]
actions = {
update-props = {
node.pause-on-idle = false # makes audio fade out when idle
node.passive = true # makes the sink and qsynth suspend
}
}
}