[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: 24bcacc619
This commit is contained in:
Netboy3
2025-07-16 18:06:29 -04:00
committed by Geoffrey McRae
parent 482f66ab9b
commit 26848ba70a

View File

@@ -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");