PipeWire
0.1.5.1
|
A global object visible to remote clients. More...
Public Member Functions | |
int | pw_global_bind (struct pw_global *global, struct pw_client *client, uint32_t permissions, uint32_t version, uint32_t id) |
Bind to a global. More... | |
void | pw_global_destroy (struct pw_global *global) |
Destroy a global. More... | |
A global object visible to remote clients.
A global object is visible to remote clients and represents a resource that can be used or inspected.
See Remote API
int pw_global_bind | ( | struct pw_global * | global, |
struct pw_client * | client, | ||
uint32_t | permissions, | ||
uint32_t | version, | ||
uint32_t | id | ||
) |
Bind to a global.
global | the global to bind to |
client | the client that binds |
version | the version |
id | the id |
Let client bind to global with the given version and id. After binding, the client and the global object will be able to exchange messages.
References pw_core_resource_error.
void pw_global_destroy | ( | struct pw_global * | global | ) |
Destroy a global.
global | a global to destroy |
References pw_global_get_permissions(), PW_PERM_IS_R, and pw_registry_resource_global_remove.