![](https://seccdn.libravatar.org/avatar/128a7b98d536a9cf9b4d4d5a90d63475.jpg?s=120&d=mm&r=g)
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pipewire for openSUSE:Factory checked in at 2022-12-24 14:51:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pipewire (Old) and /work/SRC/openSUSE:Factory/.pipewire.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pipewire" Sat Dec 24 14:51:15 2022 rev:71 rq:1044590 version:0.3.63 Changes: -------- --- /work/SRC/openSUSE:Factory/pipewire/pipewire.changes 2022-12-17 20:36:10.860484951 +0100 +++ /work/SRC/openSUSE:Factory/.pipewire.new.1563/pipewire.changes 2022-12-24 14:52:01.875540483 +0100 @@ -1,0 +2,7 @@ +Mon Dec 19 11:00:49 UTC 2022 - Antonio Larrosa <alarrosa@suse.com> + +- Add patch from upstream to remember last routing after a reboot + (glfo#pipewire/pipewire#2893): + * 0001-alsa-dont-set--1-as-node.target.patch + +------------------------------------------------------------------- New: ---- 0001-alsa-dont-set--1-as-node.target.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pipewire.spec ++++++ --- /var/tmp/diff_new_pack.KMJzQq/_old 2022-12-24 14:52:02.399543540 +0100 +++ /var/tmp/diff_new_pack.KMJzQq/_new 2022-12-24 14:52:02.403543564 +0100 @@ -66,6 +66,8 @@ Patch0: reduce-meson-dependency.patch # PATCH-FIX-UPSTREAM 0001-pulse-server-add-channel-map-in-echo-cancel-module.patch Patch1: 0001-pulse-server-add-channel-map-in-echo-cancel-module.patch +# PATCH-FIX-UPSTREAM 0001-alsa-dont-set--1-as-node.target.patch +Patch2: 0001-alsa-dont-set--1-as-node.target.patch BuildRequires: docutils BuildRequires: doxygen BuildRequires: fdupes @@ -338,6 +340,7 @@ %patch0 -p1 %endif %patch1 -p1 +%patch2 -p1 %build %if %{pkg_vcmp gcc < 8} ++++++ 0001-alsa-dont-set--1-as-node.target.patch ++++++ From 89ac6b353521fb9a6d6eb6bb74724c4fa968f75c Mon Sep 17 00:00:00 2001 From: Wim Taymans <wtaymans@redhat.com> Date: Sat, 17 Dec 2022 18:17:33 +0100 Subject: [PATCH] =?UTF-8?q?alsa:=20don=C2=B4t=20set=20-1=20as=20node.targe?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Leave the target unset when -1, just like what pw-stream does. See #2893 --- pipewire-alsa/alsa-plugins/pcm_pipewire.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipewire-alsa/alsa-plugins/pcm_pipewire.c b/pipewire-alsa/alsa-plugins/pcm_pipewire.c index 37a907b24..96b57da78 100644 --- a/pipewire-alsa/alsa-plugins/pcm_pipewire.c +++ b/pipewire-alsa/alsa-plugins/pcm_pipewire.c @@ -579,7 +579,7 @@ static int snd_pcm_pipewire_prepare(snd_pcm_ioplug_t *io) pw_properties_setf(props, PW_KEY_NODE_LATENCY, "%lu/%u", pw->min_avail, io->rate); if (pw_properties_get(props, PW_KEY_NODE_RATE) == NULL) pw_properties_setf(props, PW_KEY_NODE_RATE, "1/%u", io->rate); - if (pw->target != NULL && + if (pw->target != NULL && !spa_streq(pw->target, "-1") && pw_properties_get(props, PW_KEY_NODE_TARGET) == NULL) pw_properties_setf(props, PW_KEY_NODE_TARGET, "%s", pw->target);