mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
media-session: use rtkit for session manager data thread
This commit is contained in:
parent
25e4f2088c
commit
a2c70781a3
1 changed files with 6 additions and 1 deletions
|
|
@ -2179,7 +2179,12 @@ int main(int argc, char *argv[])
|
||||||
pw_loop_add_signal(impl.this.loop, SIGINT, do_quit, &impl);
|
pw_loop_add_signal(impl.this.loop, SIGINT, do_quit, &impl);
|
||||||
pw_loop_add_signal(impl.this.loop, SIGTERM, do_quit, &impl);
|
pw_loop_add_signal(impl.this.loop, SIGTERM, do_quit, &impl);
|
||||||
|
|
||||||
impl.this.context = pw_context_new(impl.this.loop, NULL, 0);
|
impl.this.context = pw_context_new(impl.this.loop,
|
||||||
|
pw_properties_new(
|
||||||
|
PW_KEY_CONTEXT_PROFILE_MODULES, "default,rtkit",
|
||||||
|
NULL),
|
||||||
|
0);
|
||||||
|
|
||||||
if (impl.this.context == NULL)
|
if (impl.this.context == NULL)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue