PipeWire 0.3.65
impl-metadata.h File Reference

pipewire/impl-metadata.h More...

Go to the source code of this file.

Data Structures

struct  pw_impl_metadata_events
 Metadata events, listen to them with pw_impl_metadata_add_listener. More...
 

Macros

#define PW_VERSION_IMPL_METADATA_EVENTS   0
 

Functions

struct pw_impl_metadatapw_context_create_metadata (struct pw_context *context, const char *name, struct pw_properties *properties, size_t user_data_size)
 
const struct pw_propertiespw_impl_metadata_get_properties (struct pw_impl_metadata *metadata)
 Get the metadata properties. More...
 
int pw_impl_metadata_register (struct pw_impl_metadata *metadata, struct pw_properties *properties)
 
void pw_impl_metadata_destroy (struct pw_impl_metadata *metadata)
 
void * pw_impl_metadata_get_user_data (struct pw_impl_metadata *metadata)
 
int pw_impl_metadata_set_implementation (struct pw_impl_metadata *metadata, struct pw_metadata *impl)
 
struct pw_metadatapw_impl_metadata_get_implementation (struct pw_impl_metadata *metadata)
 
struct pw_globalpw_impl_metadata_get_global (struct pw_impl_metadata *metadata)
 Get the global of this metadata. More...
 
void pw_impl_metadata_add_listener (struct pw_impl_metadata *metadata, struct spa_hook *listener, const struct pw_impl_metadata_events *events, void *data)
 Add an event listener. More...
 
int pw_impl_metadata_set_property (struct pw_impl_metadata *metadata, uint32_t subject, const char *key, const char *type, const char *value)
 Set a property. More...
 
int pw_impl_metadata_set_propertyf (struct pw_impl_metadata *metadata, uint32_t subject, const char *key, const char *type, const char *fmt,...) 1(5
 

Detailed Description