ao_pipewire: don't load client-rt.conf properties

Deprecated in 24bcacc619

Fixes: #15914
This commit is contained in:
llyyr
2025-02-19 19:08:36 +05:30
committed by Dudemanguy
parent 9618aa3b21
commit c9970b5ba6

View File

@@ -510,10 +510,11 @@ static int pipewire_init_boilerplate(struct ao *ao)
if (pw_thread_loop_start(p->loop) < 0)
goto error;
context = pw_context_new(
pw_thread_loop_get_loop(p->loop),
pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf", NULL),
0);
struct pw_properties *props = NULL;
#if !PW_CHECK_VERSION(1, 3, 81)
props = pw_properties_new(PW_KEY_CONFIG_NAME, "client-rt.conf", NULL);
#endif
context = pw_context_new(pw_thread_loop_get_loop(p->loop), props, 0);
if (!context)
goto error;