summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/musicpd/files/0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@konsulko.com>2023-04-27 17:51:07 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-05-08 10:06:22 +0000
commitaf35a74ee956a0628c5e6f929bcb3ca87eb16c48 (patch)
tree05340c7da56f1e1ed3e78206532dc0086a653891 /recipes-multimedia/musicpd/files/0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch
parent2b2d99ee385b2a17f8ccdf07c7353c6149d2d8f8 (diff)
mpd: remove patches that were upstreamed
Latest meta-openembedded/meta-multimedia updates mpd to newer version which has these 3 patches already included, remove them locally. Bug-AGL: SPEC-4768 Change-Id: Ifbb07c01f8f5cbc75935b005da473bdce3139ff0 Signed-off-by: Denys Dmytriyenko <denys@konsulko.com> (cherry picked from commit 6d435b0bbfa3ab11e571a284c01f5735edcba49f)
Diffstat (limited to 'recipes-multimedia/musicpd/files/0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch')
-rw-r--r--recipes-multimedia/musicpd/files/0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/recipes-multimedia/musicpd/files/0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch b/recipes-multimedia/musicpd/files/0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch
deleted file mode 100644
index 6f7d3942..00000000
--- a/recipes-multimedia/musicpd/files/0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From c8dae95eff60419fdff88d55400b6cbaacac137d Mon Sep 17 00:00:00 2001
-From: Max Kellermann <max.kellermann@gmail.com>
-Date: Sat, 9 Jul 2022 00:59:35 +0200
-Subject: [PATCH] output/PipeWire: after Cancel(), refill buffer before
- resuming playback
-
-Deactivate the stream in Cancel(). This fixes stuttering after a
-manual song change by refilling the whole ring buffer before
-reactivating the stream.
-
-Closes https://github.com/MusicPlayerDaemon/MPD/issues/1354
-
-Upstream-Status: Backport [https://github.com/MusicPlayerDaemon/MPD/commit/c8dae95eff60419fdff88d55400b6cbaacac137d]
-Signed-off-by: Scott Murray <scott.murray@konsulko.com>
-
----
-diff --git a/src/output/plugins/PipeWireOutputPlugin.cxx b/src/output/plugins/PipeWireOutputPlugin.cxx
-index 0f8550d41..16febe909 100644
---- a/src/output/plugins/PipeWireOutputPlugin.cxx
-+++ b/src/output/plugins/PipeWireOutputPlugin.cxx
-@@ -901,6 +901,15 @@ PipeWireOutput::Cancel() noexcept
- /* clear libpipewire's buffer */
- pw_stream_flush(stream, false);
- drained = true;
-+
-+ /* pause the PipeWire stream so libpipewire ceases invoking
-+ the "process" callback (we have no data until our Play()
-+ method gets called again); the stream will be resume by
-+ Play() after the ring_buffer has been refilled */
-+ if (active) {
-+ active = false;
-+ pw_stream_set_active(stream, false);
-+ }
- }
-
- bool
---
-2.39.0
-