mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-27 08:56:57 -05:00
permission: add some helpers
Add PW_PERM_ALL as a shortcut for all permissions Add PW_PERMISSION_FORMAT and PW_PERMISSION_ARGS to nicely format permissions.
This commit is contained in:
parent
f5e78196c4
commit
91d4806611
23 changed files with 58 additions and 61 deletions
|
|
@ -116,7 +116,7 @@ static void node_initialized(void *data)
|
|||
global = pw_impl_node_get_global(nd->adapter);
|
||||
|
||||
res = pw_global_bind(global, client,
|
||||
PW_PERM_RWX, PW_VERSION_NODE, nd->new_id);
|
||||
PW_PERM_ALL, PW_VERSION_NODE, nd->new_id);
|
||||
if (res < 0)
|
||||
goto error_bind;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue