PipeWire  0.3.32
pw_registry_events Struct Reference

Registry events. More...

Data Fields

uint32_t version
 
void(* global )(void *object, uint32_t id, uint32_t permissions, const char *type, uint32_t version, const struct spa_dict *props)
 Notify of a new global object. More...
 
void(* global_remove )(void *object, uint32_t id)
 Notify of a global object removal. More...
 

Detailed Description

Registry events.

Field Documentation

◆ global

void(* pw_registry_events::global) (void *object, 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.

Parameters
idthe global object id
permissionsthe permissions of the object
typethe type of the interface
versionthe version of the interface
propsextra properties of the global

◆ global_remove

void(* pw_registry_events::global_remove) (void *object, 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.

Parameters
idthe id of the global that was removed

◆ version

uint32_t pw_registry_events::version

The documentation for this struct was generated from the following file: