From 4b6d23485d23dad66b2e5572cdedacca5c1f6362 Mon Sep 17 00:00:00 2001 From: Ashok Sidipotu Date: Wed, 20 Dec 2023 01:05:41 +0100 Subject: pipewire: Update PipeWire to v1.0.0 and WirePlumber to v0.4.17 The PipeWire project is immensely proud to announce the 1.0 release of PipeWire. Highlights of Pipewire. - Fix a memfd/dmabuf leak when uploading buffers while shutting down. - Handle concurrent jack_port_get_buffer() calls because ardour seems to be doing this. - Improve time reporting (less jitter) in ALSA when using IRQ. - Many doc improvements Highlights of wireplumber. - Fixed a reference counting issue in the object managers that could cause crashes due to memory corruption (#534) - Fixed an issue with filters linking to wrong targets, often with two sets of links (#536) - Fixed a crash in the endpoints policy that would show up when log messages were enabled at level 3 or higher Bug-AGL: SPEC-5022 Change-Id: Ibeff85f7f4b02b8b667e4c6caf6beab4487854bc Signed-off-by: Ashok Sidipotu Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/29546 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- ...dpoint-device.lua-fix-dangling-logs-issue.patch | 47 ---------------------- .../wireplumber/wireplumber_git.bb | 7 ++-- 2 files changed, 3 insertions(+), 51 deletions(-) delete mode 100644 meta-pipewire/recipes-multimedia/wireplumber/wireplumber/0001-policy-endpoint-device.lua-fix-dangling-logs-issue.patch (limited to 'meta-pipewire/recipes-multimedia/wireplumber') diff --git a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber/0001-policy-endpoint-device.lua-fix-dangling-logs-issue.patch b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber/0001-policy-endpoint-device.lua-fix-dangling-logs-issue.patch deleted file mode 100644 index ef7192192..000000000 --- a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber/0001-policy-endpoint-device.lua-fix-dangling-logs-issue.patch +++ /dev/null @@ -1,47 +0,0 @@ -From d1624b1648512ead7f6b222bc64cda94016fb0c6 Mon Sep 17 00:00:00 2001 -From: Ashok Sidipotu -Date: Fri, 24 Nov 2023 02:45:41 +0100 -Subject: [PATCH] policy-endpoint-device.lua: fix dangling logs issue. - -When logs are enabled sometimes the new log msgs added to print the link -string can assert. - -Upstream-Status: WirePlumber MR570 submitted ---- - src/scripts/policy-endpoint-device.lua | 7 ++++--- - 1 file changed, 4 insertions(+), 3 deletions(-) - -diff --git a/src/scripts/policy-endpoint-device.lua b/src/scripts/policy-endpoint-device.lua -index 4440c17c..4c74077b 100644 ---- a/src/scripts/policy-endpoint-device.lua -+++ b/src/scripts/policy-endpoint-device.lua -@@ -116,7 +116,7 @@ function createLink (si_ep, si_target) - local in_item = nil - local ep_props = si_ep.properties - local target_props = si_target.properties -- -+ local is_filter = (ep_props["node.link-group"] ~= nil) - if target_props["item.node.direction"] == "input" then - -- playback - out_item = si_ep -@@ -131,10 +131,10 @@ function createLink (si_ep, si_target) - (is_filter and ep_props["node.name"] or ep_props["name"]), - target_props["node.name"]) - -- Log.info(si_link, link_string) -- - -- create and configure link - local si_link = SessionItem ( "si-standard-link" ) -+ -+ Log.info(si_link, "creating link " .. link_string) - if not si_link:configure { - ["out.item"] = out_item, - ["in.item"] = in_item, -@@ -146,6 +146,7 @@ function createLink (si_ep, si_target) - return - end - -+ - -- register - si_link:register () - diff --git a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb index 0d7e354fb..698b9a534 100644 --- a/meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb +++ b/meta-pipewire/recipes-multimedia/wireplumber/wireplumber_git.bb @@ -13,16 +13,15 @@ DEPENDS = "glib-2.0 glib-2.0-native pipewire lua" SRC_URI = "\ git://gitlab.freedesktop.org/pipewire/wireplumber.git;protocol=https;branch=master \ - file://0001-policy-endpoint-device.lua-fix-dangling-logs-issue.patch \ " -# v0.4.16 -SRCREV = "0d249b8a13d7168fe54fa6eb1db1c4a5fcc8d3f8" +# v0.4.17 +SRCREV = "d3eb77b292655cef333a8f4cab4e861415bc37c2" # patches to be able to compile with lower version of meson that is available in AGL. SRC_URI += "\ " -PV = "0.4.16" +PV = "0.4.17" S = "${WORKDIR}/git" WPAPI="0.4" -- cgit 1.2.3-korg