From 26848ba70a8c473cc3d79eaf90920b56765f750d Mon Sep 17 00:00:00 2001 From: Netboy3 <1472804+netboy3@users.noreply.github.com> Date: Wed, 16 Jul 2025 18:06:29 -0400 Subject: [PATCH] [client] pipewire: Stop loading properties from client-rt.conf Pipewire now automatically moves non-rt clients into non-rt threads so client-rt.conf is obsolete. Stop loading it during context initialization for Pipewire 1.3.81 and newer. See: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/24bcacc6195ffbf8e40c9ea1374eb6666252eadc --- client/audiodevs/PipeWire/pipewire.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/client/audiodevs/PipeWire/pipewire.c b/client/audiodevs/PipeWire/pipewire.c index f8d3b1b3..74ff2d4e 100644 --- a/client/audiodevs/PipeWire/pipewire.c +++ b/client/audiodevs/PipeWire/pipewire.c @@ -168,6 +168,12 @@ static bool pipewire_init(void) pw_init(NULL, NULL); pw.loop = pw_loop_new(NULL); +#if PW_CHECK_VERSION(1, 3, 81) + pw.context = pw_context_new( + pw.loop, + NULL, + 0); +#else pw.context = pw_context_new( pw.loop, pw_properties_new( @@ -176,6 +182,7 @@ static bool pipewire_init(void) NULL ), 0); +#endif if (!pw.context) { DEBUG_ERROR("Failed to create a context");