pipewire/src/daemon
Pauli Virtanen b10123eceb policy-node: make streams follow default sink/src changes
The motivation is to have both existing and new streams that have been
created without explicit target node, to be directed to the same devices
at all times. To achieve this:

Consider what find_node returns as the "default node".

Consider streams that auto+reconnect and don't have an explicit target,
as following default.  In rescan, if the default node has changed,
relink such streams to the new default.

Remove the old code that explicitly moved streams when the default.*
metadata changed, as it implements a similar thing but in a less robust
way (may fail to do what's intended, because the default device
metadata is commonly unset, or the metadata callback comes before
session_create has seen the new nodes).

Enable this feature based on "policy-node.streams-follow-default"
property. Allow setting the property also by loading the
streams-follow-default module. Enable it by default only for the
with-pulseaudio module group.
2021-01-18 20:49:58 +01:00
..
media-session.d policy-node: make streams follow default sink/src changes 2021-01-18 20:49:58 +01:00
systemd systemd: Add systemd-user-unit-dir override 2021-01-09 12:11:22 +01:00
.gitignore move things around 2017-07-11 16:08:22 +02:00
main.c daemon: support containers as arguments 2021-01-17 14:56:23 +01:00
meson.build meson: use global b_pie to build PIE executables 2021-01-14 16:29:32 +01:00
pipewire-pulse.c pipewire-pulse: escape the address string 2020-12-31 16:24:26 +01:00
pipewire-system.conf Relicense as MIT/X11 2018-11-05 17:48:52 +01:00
pipewire.conf.in daemon: support containers as arguments 2021-01-17 14:56:23 +01:00
pipewire.desktop.in add i18n support 2021-01-08 10:26:46 +01:00