summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/musicpd/mpd_agldemo.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2023-02-19 17:50:17 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-02-27 11:12:15 +0000
commit457caeb1e1dba7fda81e62f0692c50c3bea42626 (patch)
treec7894c2c6ce48c76ec6d78e656243860a615d6d1 /recipes-multimedia/musicpd/mpd_agldemo.inc
parenta67f478598b103a6a016345b8dccdde32c25cbf4 (diff)
mpd: Backport PipeWire output fixes
Backport four PipeWire output plugin fixes related to handling very short audio files. They fix MPD hanging in the Drain call of the plugin when playing very short files like truncated ones attached to SPEC-4661. These patches can be removed when MPD is upgraded to 0.23.8 or newer. Bug-AGL: SPEC-4661 Change-Id: I42b5dd4c08863c7209a75f6ede777402a11cfc87 Signed-off-by: Scott Murray <scott.murray@konsulko.com> (cherry picked from commit eaed764bc0a02029287d2531bedf13ce123641ee)
Diffstat (limited to 'recipes-multimedia/musicpd/mpd_agldemo.inc')
-rw-r--r--recipes-multimedia/musicpd/mpd_agldemo.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/recipes-multimedia/musicpd/mpd_agldemo.inc b/recipes-multimedia/musicpd/mpd_agldemo.inc
index 34120aea9..990fdecf5 100644
--- a/recipes-multimedia/musicpd/mpd_agldemo.inc
+++ b/recipes-multimedia/musicpd/mpd_agldemo.inc
@@ -5,7 +5,12 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
# in the upstream recipe.
DEPENDS:remove = "curl"
-SRC_URI += "file://mpd-volatiles.conf"
+SRC_URI += "file://0001-output-PipeWire-activate-stream-in-Drain.patch \
+ file://0002-output-PipeWire-skip-Cancel-if-already-drained.patch \
+ file://0003-output-PipeWire-call-pw_stream_flush-in-Cancel.patch \
+ file://0004-output-PipeWire-after-Cancel-refill-buffer-before-re.patch \
+ file://mpd-volatiles.conf \
+"
# The older meson in poky dunfell complains about the use of the
# build.{c_std,cpp_std} options even though they work, so we need to