PipeWire
0.3.33
|
PipeWire core interface. More...
Data Structures | |
struct | pw_impl_core_events |
Factory events, listen to them with pw_impl_core_add_listener. More... | |
Functions | |
struct pw_impl_core * | pw_context_create_core (struct pw_context *context, struct pw_properties *properties, size_t user_data_size) |
struct pw_impl_core * | pw_context_get_default_core (struct pw_context *context) |
const struct pw_properties * | pw_impl_core_get_properties (struct pw_impl_core *core) |
Get the core properties. More... | |
const struct pw_core_info * | pw_impl_core_get_info (struct pw_impl_core *core) |
Get the core information. More... | |
int | pw_impl_core_update_properties (struct pw_impl_core *core, const struct spa_dict *dict) |
Update the core properties. More... | |
int | pw_impl_core_register (struct pw_impl_core *core, struct pw_properties *properties) |
void | pw_impl_core_destroy (struct pw_impl_core *core) |
void * | pw_impl_core_get_user_data (struct pw_impl_core *core) |
struct pw_global * | pw_impl_core_get_global (struct pw_impl_core *core) |
Get the global of this core. More... | |
void | pw_impl_core_add_listener (struct pw_impl_core *core, struct spa_hook *listener, const struct pw_impl_core_events *events, void *data) |
Add an event listener. More... | |
PipeWire core interface.
The core is used to make objects on demand.
struct pw_impl_core* pw_context_create_core | ( | struct pw_context * | context, |
struct pw_properties * | properties, | ||
size_t | user_data_size | ||
) |
struct pw_impl_core* pw_context_get_default_core | ( | struct pw_context * | context | ) |
void pw_impl_core_add_listener | ( | struct pw_impl_core * | core, |
struct spa_hook * | listener, | ||
const struct pw_impl_core_events * | events, | ||
void * | data | ||
) |
Add an event listener.
References spa_hook_list_append().
void pw_impl_core_destroy | ( | struct pw_impl_core * | core | ) |
References NAME, pw_global_destroy(), pw_log_debug, pw_properties_free(), spa_hook_list_clean(), spa_hook_remove(), and spa_list_remove().
Referenced by pw_context_destroy().
struct pw_global* pw_impl_core_get_global | ( | struct pw_impl_core * | core | ) |
Get the global of this core.
const struct pw_core_info* pw_impl_core_get_info | ( | struct pw_impl_core * | core | ) |
Get the core information.
const struct pw_properties* pw_impl_core_get_properties | ( | struct pw_impl_core * | core | ) |
Get the core properties.
void* pw_impl_core_get_user_data | ( | struct pw_impl_core * | core | ) |
int pw_impl_core_register | ( | struct pw_impl_core * | core, |
struct pw_properties * | properties | ||
) |
int pw_impl_core_update_properties | ( | struct pw_impl_core * | core, |
const struct spa_dict * | dict | ||
) |
Update the core properties.
References NAME, PW_CORE_CHANGE_MASK_PROPS, pw_log_debug, pw_properties_update(), and spa_list_for_each.