From 8fa088e86b72659ebe51774b2ccc3e25c4c86eb9596756df5f7d2b6fb673fe7e Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Thu, 23 Sep 2021 10:23:00 +0000 Subject: [PATCH] Accepting request 921126 from home:alarrosa:branches:multimedia:libs - Update to version 0.3.37: * Highlights - Capture and playback is now avoided even more on unavailable devices. This should fix some issues where an unusable microphone was selected by default. It should now also again be possible to select an unavailable device as the default. - Native DSD audio playback is now supported. pw-cat can now also play DSF files with the -d option. - JACK stability improvements with buffer-size and samplerate changes in some apps. - Many cleanups and bugfixes all over the place. * PipeWire - pw-metadata -d does not cause an infinite loop anymore. (#1622) - Increase some plugin buffer sizes to fix some issues with many channels. (#1620) - Protect the global plugin list with a lock. Make sure pw_init() is locked. Fixes some issues with concurrent ALSA plugin usage. * media-session - Unavailable devices can be set as the default again. (#1624) - Do a better check if a device has available routes and avoid selecting devices with unavailable routes as default. - Media-session was moved to its own directory. It used to live in examples but it is past the example stage and it interferes with the build options for the real examples. * Bluetooth - The hardware quirk database is now loaded by the plugin instead of the session manager. This makes it also work with wireplumber. OBS-URL: https://build.opensuse.org/request/show/921126 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/pipewire?expand=0&rev=19 --- ...e-after-free-if-linking-node-removed.patch | 31 ------------ 0002-update-version-number-as-well.patch | 20 -------- _service | 2 +- pipewire-0.3.36.obscpio | 3 -- pipewire-0.3.37.obscpio | 3 ++ pipewire.changes | 50 +++++++++++++++++++ pipewire.obsinfo | 6 +-- pipewire.spec | 12 ++--- 8 files changed, 63 insertions(+), 64 deletions(-) delete mode 100644 0001-media-session-dont-use-after-free-if-linking-node-removed.patch delete mode 100644 0002-update-version-number-as-well.patch delete mode 100644 pipewire-0.3.36.obscpio create mode 100644 pipewire-0.3.37.obscpio diff --git a/0001-media-session-dont-use-after-free-if-linking-node-removed.patch b/0001-media-session-dont-use-after-free-if-linking-node-removed.patch deleted file mode 100644 index c796c79..0000000 --- a/0001-media-session-dont-use-after-free-if-linking-node-removed.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 39c8ed4f62172026036281691cd3b67b469a8629 Mon Sep 17 00:00:00 2001 -From: Pauli Virtanen -Date: Thu, 16 Sep 2021 19:18:52 +0300 -Subject: [PATCH] media-session: don't use-after-free if linking node removed - -Should fix an ASAN crash. ---- - src/examples/media-session/policy-node.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/examples/media-session/policy-node.c b/src/examples/media-session/policy-node.c -index d83613d0b..e273434fa 100644 ---- a/src/examples/media-session/policy-node.c -+++ b/src/examples/media-session/policy-node.c -@@ -869,6 +869,7 @@ static int link_nodes(struct node *node, struct node *peer) - struct pw_properties *props; - struct node *output, *input; - int res; -+ uint32_t node_id = node->id; - - pw_log_debug(NAME " %p: link nodes %d %d remix:%d", impl, - node->id, peer->id, !node->dont_remix); -@@ -902,7 +903,7 @@ static int link_nodes(struct node *node, struct node *peer) - - if (impl->linking_node_removed) { - impl->linking_node_removed = false; -- pw_log_info("linking node %d was removed", node->id); -+ pw_log_info("linking node %d was removed", node_id); - return -ENOENT; - } - node->linking = false; diff --git a/0002-update-version-number-as-well.patch b/0002-update-version-number-as-well.patch deleted file mode 100644 index 2192336..0000000 --- a/0002-update-version-number-as-well.patch +++ /dev/null @@ -1,20 +0,0 @@ -From 10abcd92d76ddd02b690ff06d67c013bfc5fa5c2 Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Thu, 16 Sep 2021 17:57:47 +0200 -Subject: [PATCH] update version number as well - ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index c9b98c8ba..ea35ac674 100644 ---- a/meson.build -+++ b/meson.build -@@ -1,5 +1,5 @@ - project('pipewire', ['c' ], -- version : '0.3.35', -+ version : '0.3.36', - license : [ 'MIT', 'LGPL-2.1-or-later', 'GPL-2.0-only' ], - meson_version : '>= 0.54.0', - default_options : [ 'warning_level=3', diff --git a/_service b/_service index c2fa092..b0191a4 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ git https://gitlab.freedesktop.org/pipewire/pipewire.git - refs/tags/0.3.36 + refs/tags/0.3.37 @PARENT_TAG@ diff --git a/pipewire-0.3.36.obscpio b/pipewire-0.3.36.obscpio deleted file mode 100644 index 3b28dfd..0000000 --- a/pipewire-0.3.36.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f547907caf3ebe79c207de3649d3dc900f70c476292cbe6d6c9a02e01069a81f -size 10341901 diff --git a/pipewire-0.3.37.obscpio b/pipewire-0.3.37.obscpio new file mode 100644 index 0000000..6bdd115 --- /dev/null +++ b/pipewire-0.3.37.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:987bda6882f7ca78a31e74e17cbc85ea884eb7075ec0267848a2dac987e8ba32 +size 10380813 diff --git a/pipewire.changes b/pipewire.changes index 24bb7bb..61f77b2 100644 --- a/pipewire.changes +++ b/pipewire.changes @@ -1,3 +1,53 @@ +------------------------------------------------------------------- +Thu Sep 23 09:20:46 UTC 2021 - Antonio Larrosa + +- Update to version 0.3.37: + * Highlights + - Capture and playback is now avoided even more on unavailable + devices. This should fix some issues where an unusable + microphone was selected by default. It should now also again + be possible to select an unavailable device as the default. + - Native DSD audio playback is now supported. pw-cat can now + also play DSF files with the -d option. + - JACK stability improvements with buffer-size and samplerate + changes in some apps. + - Many cleanups and bugfixes all over the place. + * PipeWire + - pw-metadata -d does not cause an infinite loop anymore. + (#1622) + - Increase some plugin buffer sizes to fix some issues with + many channels. (#1620) + - Protect the global plugin list with a lock. Make sure + pw_init() is locked. Fixes some issues with concurrent ALSA + plugin usage. + * media-session + - Unavailable devices can be set as the default again. (#1624) + - Do a better check if a device has available routes and avoid + selecting devices with unavailable routes as default. + - Media-session was moved to its own directory. It used to live + in examples but it is past the example stage and it + interferes with the build options for the real examples. + * Bluetooth + - The hardware quirk database is now loaded by the plugin + instead of the session manager. This makes it also work with + wireplumber. + * ALSA + - The ALSA mixer now handles device removal much better. + (#1627) + * libcamera + - Many fixes and improvement to the libcamera plugin. (#1513) + * pulse-server + - Improve compatibility with pulseaudio module arguments. + - Parse channel_map arguments in module-loopback. (#1486) + * JACK + - Delay emiting the samplerate and buffersize callbacks until + the client is active. This fixes some crashes with Carla and + other JACK apps. + +- Drop patches already included upstream: + * 0001-media-session-dont-use-after-free-if-linking-node-removed.patch + * 0002-update-version-number-as-well.patch + ------------------------------------------------------------------- Mon Sep 20 06:51:15 UTC 2021 - Antonio Larrosa diff --git a/pipewire.obsinfo b/pipewire.obsinfo index 0d8ea6a..44671cd 100644 --- a/pipewire.obsinfo +++ b/pipewire.obsinfo @@ -1,5 +1,5 @@ name: pipewire -version: 0.3.36 -mtime: 1631797736 -commit: 4997d47f63ed2c91d74bc8e5b229e57200354ee5 +version: 0.3.37 +mtime: 1632385039 +commit: c41e3553bf0a6b76d8949c081ba633f7a6343d19 diff --git a/pipewire.spec b/pipewire.spec index 48edf4b..0a222d3 100644 --- a/pipewire.spec +++ b/pipewire.spec @@ -44,7 +44,7 @@ %endif Name: pipewire -Version: 0.3.36 +Version: 0.3.37 Release: 0 Summary: A Multimedia Framework designed to be an audio and video server and more License: MIT @@ -53,10 +53,6 @@ URL: https://pipewire.org/ Source0: %{name}-%{version}.tar.xz Source1: %{name}-rpmlintrc Source99: baselibs.conf -# PATCH-FIX-UPSTREAM -Patch0: 0001-media-session-dont-use-after-free-if-linking-node-removed.patch -# PATCH-FIX-UPSTREAM -Patch1: 0002-update-version-number-as-well.patch BuildRequires: docutils BuildRequires: doxygen @@ -538,7 +534,6 @@ fi %{_userunitdir}/pipewire-media-session.service %dir %{_datadir}/pipewire/media-session.d/ %{_datadir}/pipewire/media-session.d/alsa-monitor.conf -%{_datadir}/pipewire/media-session.d/bluez-hardware.conf %{_datadir}/pipewire/media-session.d/bluez-monitor.conf %{_datadir}/pipewire/media-session.d/media-session.conf %{_datadir}/pipewire/media-session.d/v4l2-monitor.conf @@ -580,6 +575,7 @@ fi %{_bindir}/pw-cat %{_bindir}/pw-cli %{_bindir}/pw-dot +%{_bindir}/pw-dsdplay %{_bindir}/pw-dump %{_bindir}/pw-loopback %{_bindir}/pw-link @@ -702,6 +698,10 @@ fi %dir %{_libdir}/spa-%{spa_ver}/videotestsrc %dir %{_libdir}/spa-%{spa_ver}/test +%dir %{_datadir}/spa-%{spa_ver} +%dir %{_datadir}/spa-%{spa_ver}/bluez5 +%{_datadir}/spa-%{spa_ver}/bluez5/bluez-hardware.conf + %files devel %{_libdir}/libpipewire-%{apiver}.so %{_libdir}/pkgconfig/libpipewire-%{apiver}.pc