From 621ae1393d9e9710f7dca09c70e1e2d6ebfb55cb Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Wed, 5 Jan 2022 12:53:33 +0100 Subject: [PATCH] up to 0.3.43 --- pipewire-samplerate.patch | 33 --------------------------------- pipewire.spec | 11 +++++------ 2 files changed, 5 insertions(+), 39 deletions(-) delete mode 100644 pipewire-samplerate.patch diff --git a/pipewire-samplerate.patch b/pipewire-samplerate.patch deleted file mode 100644 index 8c02dc0..0000000 --- a/pipewire-samplerate.patch +++ /dev/null @@ -1,33 +0,0 @@ -From ee0fcf05c17db0e5d5775d94c8911af7821c868f Mon Sep 17 00:00:00 2001 -From: Wim Taymans -Date: Thu, 16 Dec 2021 11:39:46 +0100 -Subject: [PATCH] context: apply new quantum and rate when driver is idle - -When the driver is IDLE, apply the quantum and rate immediately -so that we can use the values when starting the driver. - -See #1913 ---- - src/pipewire/context.c | 6 ++++++ - 1 file changed, 6 insertions(+) - -diff --git a/src/pipewire/context.c b/src/pipewire/context.c -index 84eca3bda..a3551c2b8 100644 ---- a/src/pipewire/context.c -+++ b/src/pipewire/context.c -@@ -1246,6 +1246,12 @@ again: - n->current_pending = true; - } - -+ if (n->info.state < PW_NODE_STATE_RUNNING && n->current_pending) { -+ n->rt.position->clock.duration = n->current_quantum; -+ n->rt.position->clock.rate = n->current_rate; -+ n->current_pending = false; -+ } -+ - pw_log_debug("%p: driving %p running:%d passive:%d quantum:%u '%s'", - context, n, running, n->passive, quantum, n->name); - --- -GitLab - diff --git a/pipewire.spec b/pipewire.spec index 4fd33dd..eab43c2 100644 --- a/pipewire.spec +++ b/pipewire.spec @@ -11,15 +11,14 @@ Summary: PipeWire - server and user space API to deal with multimedia pipelines Summary(pl.UTF-8): PipeWire - serwer i API przestrzeni użytkownika do obsługi potoków multimedialnych Name: pipewire -Version: 0.3.42 -Release: 2 +Version: 0.3.43 +Release: 1 License: MIT, LGPL v2+, GPL v2 Group: Libraries #Source0Download: https://github.com/PipeWire/pipewire/releases Source0: https://github.com/PipeWire/pipewire/archive/%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 4bf2cdfe19e65dea03906b86f3707db4 +# Source0-md5: 6e12461b046e45c4c47bd7face365818 Patch0: %{name}-gcc.patch -Patch1: %{name}-samplerate.patch URL: https://pipewire.org/ %if %{with jack} BuildRequires: SDL2-devel >= 2 @@ -56,9 +55,10 @@ BuildRequires: libcap-devel #BuildRequires: libdrm-devel >= 2.4.98 BuildRequires: libfreeaptx-devel BuildRequires: libsndfile-devel >= 1.0.20 +BuildRequires: libstdc++-devel >= 6:7 BuildRequires: libusb-devel >= 1.0 %{?with_lv2:BuildRequires: lilv-devel} -BuildRequires: meson >= 0.54.0 +BuildRequires: meson >= 0.56.0 BuildRequires: ncurses-devel BuildRequires: ninja >= 1.5 BuildRequires: openssl-devel @@ -258,7 +258,6 @@ Wtyczka udostępniająca źródło i cel obrazu PipeWire dla GStreamera. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %meson build \ -- 2.43.0