Commit 780f2d64 authored by Wim Taymans's avatar Wim Taymans
Browse files

alsa: enable client-rt for alsa clients

So that the pipewire thread is running with RT priority.
parent 5a4ef784
Pipeline #378128 passed with stages
in 1 minute and 54 seconds
......@@ -1027,7 +1027,11 @@ static int snd_pcm_pipewire_open(snd_pcm_t **pcmp, const char *name,
}
loop = pw_thread_loop_get_loop(pw->main_loop);
pw->system = loop->system;
if ((pw->context = pw_context_new(loop, NULL, 0)) == NULL) {
if ((pw->context = pw_context_new(loop,
pw_properties_new(
PW_KEY_CONFIG_NAME, "client-rt.conf",
NULL),
0)) == NULL) {
err = -errno;
goto error;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment