25 #ifndef PIPEWIRE_IMPL_CORE_H 26 #define PIPEWIRE_IMPL_CORE_H 53 #define PW_VERSION_IMPL_CORE_EVENTS 0 66 size_t user_data_size);
struct pw_impl_core * pw_context_create_core(struct pw_context *context, struct pw_properties *properties, size_t user_data_size)
Definition: impl-core.c:412
Definition: properties.h:49
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.
Definition: impl-core.c:671
int pw_impl_core_update_properties(struct pw_impl_core *core, const struct spa_dict *dict)
Update the core properties.
Definition: impl-core.c:586
const struct pw_core_info * pw_impl_core_get_info(struct pw_impl_core *core)
Get the core information.
A hook, contains the structure with functions and the data passed to the functions.
Definition: hook.h:76
void pw_impl_core_destroy(struct pw_impl_core *core)
Definition: impl-core.c:479
struct pw_global * pw_impl_core_get_global(struct pw_impl_core *core)
Get the global of this core.
Definition: impl-core.c:665
The core information.
Definition: core.h:67
Definition: utils/dict.h:48
void * pw_impl_core_get_user_data(struct pw_impl_core *core)
Definition: impl-core.c:659
int pw_impl_core_register(struct pw_impl_core *core, struct pw_properties *properties)
Definition: impl-core.c:609
void(* destroy)(void *data)
the core is destroyed
Definition: impl-core.h:57
void(* initialized)(void *data)
the core is initialized
Definition: impl-core.h:61
Factory events, listen to them with pw_impl_core_add_listener.
Definition: impl-core.h:52
struct pw_impl_core * pw_context_get_default_core(struct pw_context *context)
Definition: impl-core.c:473
void(* free)(void *data)
the core is freed
Definition: impl-core.h:59
uint32_t version
Definition: impl-core.h:54
const struct pw_properties * pw_impl_core_get_properties(struct pw_impl_core *core)
Get the core properties.
Definition: impl-core.c:580