mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
pw-cat: enable rtkit
This commit is contained in:
parent
2cf5bf7ac1
commit
cb14b41537
1 changed files with 5 additions and 1 deletions
|
|
@ -1437,7 +1437,11 @@ int main(int argc, char *argv[])
|
|||
pw_loop_add_signal(l, SIGINT, do_quit, &data);
|
||||
pw_loop_add_signal(l, SIGTERM, do_quit, &data);
|
||||
|
||||
data.context = pw_context_new(l, NULL, 0);
|
||||
data.context = pw_context_new(l,
|
||||
pw_properties_new(
|
||||
PW_KEY_CONTEXT_PROFILE_MODULES, "default,rtkit",
|
||||
NULL),
|
||||
0);
|
||||
if (!data.context) {
|
||||
fprintf(stderr, "error: pw_context_new() failed: %m\n");
|
||||
goto error_no_context;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue