PipeWire 1.2.1
|
Registry events. More...
#include <pipewire/core.h>
Data Fields | |
uint32_t | version |
void(* | global )(void *data, uint32_t id, uint32_t permissions, const char *type, uint32_t version, const struct spa_dict *props) |
Notify of a new global object. | |
void(* | global_remove )(void *data, uint32_t id) |
Notify of a global object removal. | |
Registry events.
uint32_t pw_registry_events::version |
void(* pw_registry_events::global) (void *data, uint32_t id, uint32_t permissions, const char *type, uint32_t version, const struct spa_dict *props) |
Notify of a new global object.
The registry emits this event when a new global object is available.
id | the global object id |
permissions | the permissions of the object |
type | the type of the interface |
version | the version of the interface |
props | extra properties of the global |
void(* pw_registry_events::global_remove) (void *data, uint32_t id) |
Notify of a global object removal.
Emitted when a global object was removed from the registry. If the client has any bindings to the global, it should destroy those.
id | the id of the global that was removed |