From 342505cd7d3356df22b485464fe089f39f619264 Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Tue, 17 Dec 2019 19:32:34 +0200 Subject: wireplumber: update to master * Fixes policy issues * Implements a standard way of configuring the default device: the device that matches from the *.endpoint files that has the highest priority and is available on the system becomes the default. Afterwards, at runtime, the default can be changed with wireplumber-cli. Clients now also link to the default device, so it is possible to change devices at runtime without reconfiguring wireplumber. George Kiagiadakis (9): session: select the default endpoint based on endpoint priority config: refactor wireplumber's configuration config: fix typo in config files module-session: debug default endpoint changes policy: track the exported session instead of the proxy config-policy: debug rescans cli: fail gracefully if connection to pipewire fails lib: debug loading of config files + endpoint priorities parser-endpoint: fix typo; initialize endpoint priority instead of reseting the match one Julian Bouzas (13): config-policy: sort endpoints by creation time when finding target parser-endpoint-link: higher number means higher priority softdsp-endpoint: don't rename the endpoint on creation modules: remove alsa-udev and audio-client modules modules: add config endpoint module config-policy: remove parsing of streams file parser-endpoint-link: don't parse unused state value base-endpoint: add _get_priority API modules: only allow 'sink' and 'source' strings when parsing direction in config files base-endpoint: add _get_global_id API policy: add _get_session API for the policy manager config-policy: use the default session endpoint if target-endpoint is not defined config-policy: only handle the highest priority endpoint for a target, and the ones with keep=true Bug-AGL: SPEC-2837 Change-Id: I87b3e8b9e159dfc472aa534e40e088ae758ad20c Signed-off-by: George Kiagiadakis --- .../wireplumber-board-config-agl/wireplumber.conf | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/wireplumber.conf') diff --git a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/wireplumber.conf b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/wireplumber.conf index 4bbe971f..e0975a81 100644 --- a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/wireplumber.conf +++ b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber-board-config-agl/wireplumber.conf @@ -23,19 +23,8 @@ load-module C libwireplumber-module-monitor { "flags": <["use-adapter", "activate-devices"]> } -# Monitors the ALSA devices that are discovered via udev -# and creates softdsp-endopints for each one of them -# The streams specified here are the ones that will be available for linking -# clients. Currently, they are matched against the client's role string. -load-module C libwireplumber-module-pw-alsa-udev { - "streams": <["Multimedia", "Speech-Low", "Custom-Low", - "Navigation", "Speech-High", "Custom-High", - "Communication", "Emergency"]> -} - -# Monitors the Audio clients that are discovered via pipewire -# and creates simple-endpoints for each one of them -load-module C libwireplumber-module-pw-audio-client +# Implements endpoint creation based on TOML configuration files +load-module C libwireplumber-module-config-endpoint # Implements linking clients to devices based on TOML configuration files load-module C libwireplumber-module-config-policy -- cgit 1.2.3-korg