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:
Julian Bouzas 2024-03-06 10:46:24 -05:00
parent e496222a03
commit 22de7513c1

View file

@ -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 {