From eaed764bc0a02029287d2531bedf13ce123641ee Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Sun, 19 Feb 2023 17:50:17 -0500 Subject: 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 --- recipes-multimedia/musicpd/mpd_agldemo.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'recipes-multimedia/musicpd/mpd_agldemo.inc') 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 -- cgit 1.2.3-korg