diff options
author | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 17:37:17 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2020-08-05 17:37:17 +0200 |
commit | 8e3ae33550334f15e71d5876fcac19aebc34953a (patch) | |
tree | 40723bdb81e295838eb077f3b762011761e89a29 | |
parent | eeeca7ecd2f138012f0ae4ab0d2fc52ef266cefd (diff) |
pulse: enable rtkit on the client
-rw-r--r-- | pipewire-pulseaudio/src/context.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pipewire-pulseaudio/src/context.c b/pipewire-pulseaudio/src/context.c index 7366ac58..fcab152c 100644 --- a/pipewire-pulseaudio/src/context.c +++ b/pipewire-pulseaudio/src/context.c @@ -1393,7 +1393,11 @@ pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char * pw_properties_update_proplist(props, p); loop = mainloop->userdata; - context = pw_context_new(loop, NULL, sizeof(struct pa_context)); + context = pw_context_new(loop, + pw_properties_new( + PW_KEY_CONTEXT_PROFILE_MODULES, "default,rtkit", + NULL), + sizeof(struct pa_context)); if (context == NULL) return NULL; |