mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-09-03 05:40:54 +00:00
[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:
@@ -168,6 +168,12 @@ static bool pipewire_init(void)
|
|||||||
pw_init(NULL, NULL);
|
pw_init(NULL, NULL);
|
||||||
|
|
||||||
pw.loop = pw_loop_new(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.context = pw_context_new(
|
||||||
pw.loop,
|
pw.loop,
|
||||||
pw_properties_new(
|
pw_properties_new(
|
||||||
@@ -176,6 +182,7 @@ static bool pipewire_init(void)
|
|||||||
NULL
|
NULL
|
||||||
),
|
),
|
||||||
0);
|
0);
|
||||||
|
#endif
|
||||||
if (!pw.context)
|
if (!pw.context)
|
||||||
{
|
{
|
||||||
DEBUG_ERROR("Failed to create a context");
|
DEBUG_ERROR("Failed to create a context");
|
||||||
|
Reference in New Issue
Block a user