wireplumber/modules
Pauli Virtanen 370b692933 m-si-link: don't wait for establish before activation + cleanup links
SiLink should not wait for WpLinks becoming ESTABLISHED, before
activation. That flag shows whether a link has moved away from the
"init" state, however, links to e.g. Pulseaudio corked streams can stay
in "init" state until uncorking.  This causes trouble for policies,
which needlessly wait for such links to establish.

The WpLink objects may also be kept alive by other referents, and
just unrefing them does not necessarily destroy the PW objects.

Activate SiLink even if the WpLink is still in "init" state. It's enough
that the link otherwise successfully establishes.

At dispose time, explicitly request destroying the WpLinks that were
created by the SiLink, to ensure they are removed even if there's
something else referring to them.
2022-08-14 19:47:11 +00:00
..
module-default-nodes default-nodes: use WpSpaJson API 2022-01-25 07:40:59 -05:00
module-lua-scripting lua: add Core.get_vm_type() method 2022-06-28 14:06:48 +03:00
module-portal-permissionstore modules: move all portal-permissionstore code into one file 2022-06-02 12:34:16 -04:00
module-reserve-device Fix leftover use of module-reserve-device's state property 2022-07-14 13:02:19 +00:00
meson.build modules: move all portal-permissionstore code into one file 2022-06-02 12:34:16 -04:00
module-default-nodes-api.c default-nodes: use WpSpaJson API 2022-01-25 07:40:59 -05:00
module-default-nodes.c m-default-nodes: reevaluate nodes when ports changed 2022-06-27 08:52:36 +00:00
module-default-profile.c config: port device-activation module to policy-device.profile.lua 2022-02-16 13:37:40 -05:00
module-file-monitor-api.c file-monitor-api: allow watching files too, not just directories 2021-10-19 17:16:37 +03:00
module-logind.c modules/logind: be more specific when creating the login monitor 2022-05-02 08:27:43 +00:00
module-metadata.c lib: introduce WpComponentLoader and remove WpModule 2021-02-03 17:16:51 +02:00
module-mixer-api.c m-mixer-api: fix channelVolumes array iteration in set-volume 2022-05-02 11:02:40 +03:00
module-portal-permissionstore.c modules: move all portal-permissionstore code into one file 2022-06-02 12:34:16 -04:00
module-si-audio-adapter.c si-audio-adapter: skip control ports from the list of ports to be linked 2022-06-27 17:35:29 +03:00
module-si-audio-endpoint.c si-adapter: add ports state change signal 2022-05-05 08:09:21 +00:00
module-si-node.c si-node: skip control ports from the list of ports to be linked 2022-06-28 10:52:49 +03:00
module-si-standard-link.c m-si-link: don't wait for establish before activation + cleanup links 2022-08-14 19:47:11 +00:00