summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2020-08-05 17:37:17 +0200
committerWim Taymans <wtaymans@redhat.com>2020-08-05 17:37:17 +0200
commit8e3ae33550334f15e71d5876fcac19aebc34953a (patch)
tree40723bdb81e295838eb077f3b762011761e89a29
parenteeeca7ecd2f138012f0ae4ab0d2fc52ef266cefd (diff)
pulse: enable rtkit on the client
-rw-r--r--pipewire-pulseaudio/src/context.c6
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;