wireplumber/modules
Julian Bouzas 8bbbba23ff m-default-nodes: don't reevaluate nodes if they are not ready
This makes sure nodes are ready before finding the default node, avoiding audio
glitch in wrong device if profile was also changed while changing the default
node (can happen with Gnome Sound Settings).

Since nodes are destroyed and recreated again when a device profile changes, the
only way to make sure device nodes are ready is to check the profile classes
structure, which tell us how many total nodes the device has, and then check
that those nodes exist for that device. A rescan is triggered whenever devices,
nodes or ports changed.

This patch also improves the logic when finding default nodes, allowing virtual
sources to be set as default sources.

Fixes #85 and #130
2022-01-05 08:57:33 +00:00
..
module-default-nodes m-default-nodes: don't reevaluate nodes if they are not ready 2022-01-05 08:57:33 +00:00
module-lua-scripting wp: support loading optional modules 2021-10-14 06:27:53 +00:00
module-portal-permissionstore m-portal-permissionstore: try to reconnect on idle if DBus connection is closed 2021-09-24 09:31:29 -04:00
module-reserve-device m-reserve-device: replace the hash table key on new insert 2021-11-18 12:00:09 +00:00
meson.build m-si-audio-adapter: remove unused audio utilities 2021-10-20 07:41:21 +00:00
module-default-nodes-api.c m-default-nodes: lift restrictions on media.class for audio nodes 2021-10-05 17:28:42 +03:00
module-default-nodes.c m-default-nodes: don't reevaluate nodes if they are not ready 2022-01-05 08:57:33 +00:00
module-default-profile.c m-default-profile: only store the default profile if the save flag is present 2021-12-20 09:54:05 +00:00
module-device-activation.c m-device-activation: reevaluate current profile if params changed 2021-12-20 09:54:05 +00: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: implement logind module and integrate with bluez monitor 2021-09-27 18:30:32 +03:00
module-lua-scripting.c scripts: also look in $XDG_CONFIG_HOME/scripts 2021-12-06 14:47:49 +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: unset iterator value before breaking or returning from loop 2021-12-20 09:54:05 +00:00
module-route-settings-api.c json: improve json parsing 2022-01-04 16:36:15 +01:00
module-si-audio-adapter.c si-std-link: handle node destroy events while linking is in progress 2021-12-22 16:12:04 +02:00
module-si-audio-endpoint.c m-si-audio-endpoint: use an internal audio adapter session item 2021-10-21 14:03:10 -04:00
module-si-node.c si-std-link: handle node destroy events while linking is in progress 2021-12-22 16:12:04 +02:00
module-si-standard-link.c si-std-link: handle node destroy events while linking is in progress 2021-12-22 16:12:04 +02:00