diff mbox series

[oe-core,PATCHv2] pipewire: update 0.3.56 -> 0.3.57

Message ID 20220909004132.2946562-1-f_l_k@t-online.de
State Under Review
Headers show
Series [oe-core,PATCHv2] pipewire: update 0.3.56 -> 0.3.57 | expand

Commit Message

Markus Volk Sept. 9, 2022, 12:41 a.m. UTC
PipeWire 0.3.57 (2022-09-02)
This is a bugfix release that is API and ABI compatible with previous
0.3.x releases.

Highlights

Support masking of conf.d/ files. (#2629)
Use org.freedesktop.portal.Realtime when available. This does the
correct PID/TID mappings to make realtime also work from flatpaks.
Fix rate adjustment logic in pulse-tunnel. This would cause
increasing delays and hickups when using tunnels. (#2548)
Add OPUS as a new vendor codec. Add OPUS-A2DP spec. PipeWire can now
send and receive OPUS data over bluetooth.
An AAC decoder was added so that PipeWire can now also function as
an A2DP AAC receiver.
Fix some issues where the wrong samplerate was used. (#2614)
Fix rate match for sources. This fixes an error where follower sources
would generate many resync warnings.
Many more bugfixes and improvements.

PipeWire

Support masking of conf.d/ files. (#2629)
Add some more debug info to memfd.
Improve data-loop invoke method. Also flush pending items. (#2631)
Add a filter-chain systemd service file than can be used to start
custom filters placed in ~/.conf/pipewire/filter-chain.d/ (#2553)
Improve triggered timestamps for remote nodes.
Fix some potential cross compilation problems due to wrong
host_machine.
Check return values of pw_getrandom().

Tools

Updates to pw-cli manpages. (#2552)
Remove the pw-cli dump command. It is mostly implemented as part of
wpctl status, pw-dump, pw-link, pw-top and others.
Clean up resource in pw-cat correctly on errors. (#2651)

Modules

Fix compilation of AVB on big-endian. Enable AVB only on Linux.
Use org.freedesktop.portal.Realtime when available. This does the
correct PID/TID mappings to make realtime also work from flatpaks.
Fix compilation of ROC module when headers are missing. (#2513)
Improve some error cleanup paths in protocol-native. Improve connect
and disconnect.
Fix a potential crash in FFT unload in filter-chain.
Implement PIPEWIRE_NOTIFICATION_FD for notification when the socket
is ready.
Try to use rtkit if set_nice() fails.
Fix rate adjustment logic in pulse-tunnel. This would cause
increasing delays and hickups when using tunnels. (#2548)
Handle disconnect in pulse-tunnel.

Bluetooth

Add OPUS as a new vendor codec. Add OPUS-A2DP spec. PipeWire can now
send and receive OPUS data over bluetooth.
An AAC decoder was added so that PipeWire can now also function as
an A2DP AAC receiver.

SPA

Tweak the resampler window function some more. (#2574)
Improve format convert performance in some fallback cases.
Fix rounding in format conversion on ARM NEON.
Fix libcamera build error. (#2575)
Fix some issues where the wrong samplerate was used. (#2614)
Don't wait for more samples that can fit in the ringbuffer in ALSA.
Improve buffer size handling in audioconvert, scale the buffers based
on the rate conversion and make things work with really large rate
conversions as well.
Add more and better debug for ALSA devices.
Improve channel mix: Filter FC and LFE when copying from a different
layout. Implement STEREO from FC. Avoid generating REAR from FC in PSD
mode.
Fix rate match for sources. This fixes an error where follower sources
would generate many resync warnings.
Improve ALSA format negotiation. If the ALSA node is not running and
there was a previously configured format, close and reopen the device
to enumerate and accept all possible formats again. (#2625).

ALSA

The alsa plugin will now also save the volumes set with the control
API. This saves the volumes set with alsa-mixer, for example.

Pulse-server

Flatpak apps with devices=all (Zoom) will now be granted Manager
permissions.
Small tweaks to the amount of data sent to clients to work around an
issue in freerdp.

JACK

Clean up the transport correctly when closing a client. (#2569)
Match context properties in addition to node properties for the jack
client rules. (#2580)
Make sure to return an error when disconnected from the server. (#2606)
Fix thread cast problem in jack_client_thread_id().
Increase jack_client_name_size() length and make sure we have space for
the \0 byte.
JACK clients from the same application will be added to the same group
so that they share the quantum and rate.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 ...01-avb-fix-compilation-on-big-endian.patch | 53 -------------------
 ...{pipewire_0.3.56.bb => pipewire_0.3.57.bb} | 12 ++---
 2 files changed, 5 insertions(+), 60 deletions(-)
 delete mode 100644 meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-avb-fix-compilation-on-big-endian.patch
 rename meta-multimedia/recipes-multimedia/pipewire/{pipewire_0.3.56.bb => pipewire_0.3.57.bb} (97%)
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-avb-fix-compilation-on-big-endian.patch b/meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-avb-fix-compilation-on-big-endian.patch
deleted file mode 100644
index fc618b4a7..000000000
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-avb-fix-compilation-on-big-endian.patch
+++ /dev/null
@@ -1,53 +0,0 @@ 
-From 1a5ec4452fa21592eaeeb823ad95a1db6eb60376 Mon Sep 17 00:00:00 2001
-From: Wim Taymans <wtaymans@redhat.com>
-Date: Tue, 19 Jul 2022 13:49:42 +0200
-Subject: [PATCH 001/113] avb: fix compilation on big endian
-
-Patch-Status: Backport
-
----
- src/modules/module-avb/aaf.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/modules/module-avb/aaf.h b/src/modules/module-avb/aaf.h
-index cb4871ca6..b444ce251 100644
---- a/src/modules/module-avb/aaf.h
-+++ b/src/modules/module-avb/aaf.h
-@@ -35,7 +35,7 @@ struct avb_packet_aaf {
- 	unsigned gv:1;
- 	unsigned tv:1;
- 
--	uint8_t seq_number;
-+	uint8_t seq_num;
- 
- 	unsigned _r2:7;
- 	unsigned tu:1;
-diff --git a/src/modules/module-avb/iec61883.h b/src/modules/module-avb/iec61883.h
-index d3b3a7daa..6ca8724ad 100644
---- a/src/modules/module-avb/iec61883.h
-+++ b/src/modules/module-avb/iec61883.h
-@@ -37,7 +37,7 @@ struct avb_packet_iec61883 {
- 	unsigned gv:1;
- 	unsigned tv:1;
- 
--	uint8_t seq_number;
-+	uint8_t seq_num;
- 
- 	unsigned _r2:7;
- 	unsigned tu:1;
-diff --git a/spa/plugins/avb/avbtp/packets.h b/spa/plugins/avb/avbtp/packets.h
-index 7047456bf..3d4a652ee 100644
---- a/spa/plugins/avb/avbtp/packets.h
-+++ b/spa/plugins/avb/avbtp/packets.h
-@@ -116,7 +116,7 @@ struct spa_avbtp_packet_aaf {
- 	unsigned gv:1;
- 	unsigned tv:1;
- 
--	uint8_t seq_number;
-+	uint8_t seq_num;
- 
- 	unsigned _r2:7;
- 	unsigned tu:1;
--- 
-2.34.1
-
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.57.bb
similarity index 97%
rename from meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
rename to meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.57.bb
index feefe7c15..0ca8fd0dc 100644
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.56.bb
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.57.bb
@@ -13,11 +13,8 @@  LIC_FILES_CHKSUM = " \
 
 DEPENDS = "dbus ncurses"
 
-SRCREV = "f274e53d25ee8f483ac6fce9e516bb1830abe88b"
-SRC_URI = " \
-	git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https \
-	file://0001-avb-fix-compilation-on-big-endian.patch \
-"
+SRCREV = "49f1c2038fb7b5249affa56709b117a2a8603b52"
+SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=master;protocol=https"
 
 S = "${WORKDIR}/git"
 
@@ -86,7 +83,7 @@  BLUETOOTH_AAC = "${@bb.utils.contains('LICENSE_FLAGS_ACCEPTED', 'commercial', 'b
 
 PACKAGECONFIG:class-target ??= " \
     ${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
-    ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez ${BLUETOOTH_AAC}', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez bluez-opus ${BLUETOOTH_AAC}', '', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd systemd-system-service systemd-user-service', '', d)} \
     ${@bb.utils.filter('DISTRO_FEATURES', 'alsa vulkan pulseaudio', d)} \
     ${PIPEWIRE_SESSION_MANAGER} \
@@ -102,6 +99,7 @@  PACKAGECONFIG[alsa] = "-Dalsa=enabled,-Dalsa=disabled,alsa-lib udev,,pipewire-al
 PACKAGECONFIG[avahi] = "-Davahi=enabled,-Davahi=disabled,avahi"
 PACKAGECONFIG[bluez] = "-Dbluez5=enabled,-Dbluez5=disabled,bluez5 sbc"
 PACKAGECONFIG[bluez-aac] = "-Dbluez5-codec-aac=enabled,-Dbluez5-codec-aac=disabled,fdk-aac"
+PACKAGECONFIG[bluez-opus] = "-Dbluez5-codec-opus=enabled,-Dbluez5-codec-opus=disabled,libopus"
 PACKAGECONFIG[docs] = "-Ddocs=enabled,-Ddocs=disabled,doxygen-native graphviz-native"
 PACKAGECONFIG[ffmpeg] = "-Dffmpeg=enabled,-Dffmpeg=disabled,ffmpeg"
 PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base,,gstreamer1.0-pipewire"
@@ -248,7 +246,7 @@  CONFFILES:${PN} += "${datadir}/pipewire/pipewire.conf"
 FILES:${PN} = " \
     ${datadir}/pipewire \
     ${systemd_system_unitdir}/pipewire* \
-    ${systemd_user_unitdir}/pipewire* \
+    ${systemd_user_unitdir} \
     ${bindir}/pipewire \
     ${bindir}/pipewire-avb \
 "