From e89400f8efe6bfadf2b0f9222f8d14f83c26da4c592a33c9e922ee3121c71b57 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Wed, 30 Aug 2023 08:50:56 +0000 Subject: [PATCH] Accepting request 1107999 from home:XRevan86 - Update to version 0.3.79. OBS-URL: https://build.opensuse.org/request/show/1107999 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=152 --- ...dioconvert-fix-typo-in-neon-function.patch | 28 ---------- 0001-bluez5-fix-BAP-profiles-showing.patch | 36 ------------- 0001-impl-node-improve-suspend.patch | 44 ---------------- ...ure-we-can-always-find-our-own-ports.patch | 42 --------------- _service | 2 +- pipewire-0.3.78.obscpio | 3 -- pipewire-0.3.79.obscpio | 3 ++ pipewire.changes | 51 +++++++++++++++++++ pipewire.obsinfo | 6 +-- pipewire.spec | 11 +--- 10 files changed, 59 insertions(+), 167 deletions(-) delete mode 100644 0001-audioconvert-fix-typo-in-neon-function.patch delete mode 100644 0001-bluez5-fix-BAP-profiles-showing.patch delete mode 100644 0001-impl-node-improve-suspend.patch delete mode 100644 0001-jack-make-sure-we-can-always-find-our-own-ports.patch delete mode 100644 pipewire-0.3.78.obscpio create mode 100644 pipewire-0.3.79.obscpio diff --git a/0001-audioconvert-fix-typo-in-neon-function.patch b/0001-audioconvert-fix-typo-in-neon-function.patch deleted file mode 100644 index 8dac3e2..0000000 --- a/0001-audioconvert-fix-typo-in-neon-function.patch +++ /dev/null @@ -1,28 +0,0 @@ -From b54f7fe90dd16b0f7a7e1e5bb1ef921212236029 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Thu, 24 Aug 2023 13:44:10 +0200 -Subject: [PATCH] audioconvert: fix typo in neon function - -Thanks to Shengjiu Wang - -fixes #3463 ---- - spa/plugins/audioconvert/fmt-ops-neon.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/spa/plugins/audioconvert/fmt-ops-neon.c b/spa/plugins/audioconvert/fmt-ops-neon.c -index 0006456fc4..55be55fa58 100644 ---- a/spa/plugins/audioconvert/fmt-ops-neon.c -+++ b/spa/plugins/audioconvert/fmt-ops-neon.c -@@ -294,7 +294,7 @@ conv_f32d_to_s16_2s_neon(void *data, void * SPA_RESTRICT dst, const void * SPA_R - " beq 4f\n" - "3:" - " ld1 { v0.s }[0], [%[s0]], #4\n" -- " ld1 { v2.s }[0], [%[s1]], #4\n" -+ " ld1 { v1.s }[0], [%[s1]], #4\n" - " subs %[remainder], %[remainder], #1\n" - " sqadd v0.4s, v0.4s, v2.4s\n" - " sqadd v1.4s, v1.4s, v2.4s\n" --- -GitLab - diff --git a/0001-bluez5-fix-BAP-profiles-showing.patch b/0001-bluez5-fix-BAP-profiles-showing.patch deleted file mode 100644 index 92524b8..0000000 --- a/0001-bluez5-fix-BAP-profiles-showing.patch +++ /dev/null @@ -1,36 +0,0 @@ -From dbd97020da06450366dca7020eeb62afcd135d83 Mon Sep 17 00:00:00 2001 -From: Pauli Virtanen -Date: Tue, 22 Aug 2023 21:59:52 +0300 -Subject: [PATCH] bluez5: fix BAP profiles showing - -Now that we only show codec profiles, the logic that showed codecless -profile for BAP has to be removed. - -This fixes BAP only showing off profile. ---- - spa/plugins/bluez5/bluez5-device.c | 9 --------- - 1 file changed, 9 deletions(-) - -diff --git a/spa/plugins/bluez5/bluez5-device.c b/spa/plugins/bluez5/bluez5-device.c -index 3dec1e0aa..ced1d8dc8 100644 ---- a/spa/plugins/bluez5/bluez5-device.c -+++ b/spa/plugins/bluez5/bluez5-device.c -@@ -1661,15 +1661,6 @@ static struct spa_pod *build_profile(struct impl *this, struct spa_pod_builder * - - name = spa_bt_profile_name(profile); - -- /* If we can't codec switch, emit codecless profile */ -- if (current && !can_bap_codec_switch(this)) { -- codec = 0; -- index = get_index_from_profile(this, profile_index, codec); -- } else if ((codec != 0) != can_bap_codec_switch(this)) { -- errno = -EINVAL; -- return NULL; -- } -- - if (codec) { - media_codec = get_supported_media_codec(this, codec, &idx); - if (media_codec == NULL) { --- -GitLab - diff --git a/0001-impl-node-improve-suspend.patch b/0001-impl-node-improve-suspend.patch deleted file mode 100644 index da16999..0000000 --- a/0001-impl-node-improve-suspend.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 3b052eaa9986c2f5182eb8a1b2f2b5c10be31a12 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Thu, 24 Aug 2023 09:50:28 +0200 -Subject: [PATCH] impl-node: improve suspend - -Make sure we can only suspend when the node is (going to) IDLE. We don't -really want to allow applications to suspend a node that is running or -starting up. - -This might fix a race when a node is suspended at the same time it is -started and cause silence. It also fixes the issue of total silence when -doing "pactl suspend 1" on a running node. - -See #3378 ---- - src/pipewire/impl-node.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/src/pipewire/impl-node.c b/src/pipewire/impl-node.c -index ca431c389..ff9effedc 100644 ---- a/src/pipewire/impl-node.c -+++ b/src/pipewire/impl-node.c -@@ -591,6 +591,7 @@ static int node_send_command(void *object, const struct spa_command *command) - { - struct resource_data *data = object; - struct pw_impl_node *node = data->node; -+ struct impl *impl = SPA_CONTAINER_OF(node, struct impl, this); - uint32_t id = SPA_NODE_COMMAND_ID(command); - - pw_log_debug("%p: got command %d (%s)", node, id, -@@ -598,7 +599,9 @@ static int node_send_command(void *object, const struct spa_command *command) - - switch (id) { - case SPA_NODE_COMMAND_Suspend: -- suspend_node(node); -+ if (node->info.state == PW_NODE_STATE_ERROR || -+ impl->pending_state == PW_NODE_STATE_IDLE) -+ suspend_node(node); - break; - default: - spa_node_send_command(node->node, command); --- -GitLab - diff --git a/0001-jack-make-sure-we-can-always-find-our-own-ports.patch b/0001-jack-make-sure-we-can-always-find-our-own-ports.patch deleted file mode 100644 index 566a053..0000000 --- a/0001-jack-make-sure-we-can-always-find-our-own-ports.patch +++ /dev/null @@ -1,42 +0,0 @@ -From c41c812325ca1b0db1efc2fc06a3c90355be59d9 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Thu, 24 Aug 2023 19:28:57 +0200 -Subject: [PATCH] jack: make sure we can always find our own ports - -find_port_by_name() is used to find our own ports before they become -visible so make sure we can always find them. - -Fixes #3485 ---- - pipewire-jack/src/pipewire-jack.c | 10 +++++++++- - 1 file changed, 9 insertions(+), 1 deletion(-) - -diff --git a/pipewire-jack/src/pipewire-jack.c b/pipewire-jack/src/pipewire-jack.c -index b93422bd3..ff5b6881d 100644 ---- a/pipewire-jack/src/pipewire-jack.c -+++ b/pipewire-jack/src/pipewire-jack.c -@@ -719,12 +719,20 @@ static bool is_port_default(struct client *c, struct object *o) - return false; - } - -+static inline bool client_port_visible(struct client *c, struct object *o) -+{ -+ if (o->port.port != NULL && o->port.port->client == c) -+ return true; -+ return o->visible; -+} -+ - static struct object *find_port_by_name(struct client *c, const char *name) - { - struct object *o; - - spa_list_for_each(o, &c->context.objects, link) { -- if (o->type != INTERFACE_Port || o->removed || !o->visible) -+ if (o->type != INTERFACE_Port || o->removed || -+ (!client_port_visible(c, o))) - continue; - if (spa_streq(o->port.name, name) || - spa_streq(o->port.alias1, name) || --- -GitLab - diff --git a/_service b/_service index d557ab1..541408d 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ git https://gitlab.freedesktop.org/pipewire/pipewire.git - 0.3.78 + 0.3.79 @PARENT_TAG@