mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
alsa: enable client-rt for alsa clients
So that the pipewire thread is running with RT priority.
This commit is contained in:
parent
5a4ef78480
commit
780f2d645d
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
loop = pw_thread_loop_get_loop(pw->main_loop);
|
||||||
pw->system = loop->system;
|
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;
|
err = -errno;
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue