mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-09 02:48:05 +02:00
scripts: rescan linkables when device EnumRoute param changes
This is needed for some devices that expose both Headset and Speaker nodes, so that the applications are automatically linked to the Headset node or Speakers node automatically when plugging and unplugging a headset.
This commit is contained in:
parent
e496222a03
commit
22de7513c1
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ SimpleEventHook {
|
|||
-- on device Routes changed
|
||||
EventInterest {
|
||||
Constraint { "event.type", "=", "device-params-changed" },
|
||||
Constraint { "event.subject.param-id", "=", "Route" },
|
||||
Constraint { "event.subject.param-id", "c", "Route", "EnumRoute" },
|
||||
},
|
||||
-- on any "default" target changed
|
||||
EventInterest {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue