PipeWire
0.1.6
|
Go to the source code of this file.
Data Structures | |
struct | pw_module_events |
Module events added with pw_module_add_listener. More... | |
Macros | |
#define | PW_TYPE__Module PW_TYPE_OBJECT_BASE "Module" |
#define | PW_TYPE_MODULE_BASE PW_TYPE__Module ":" |
#define | PIPEWIRE_SYMBOL_MODULE_INIT "pipewire__module_init" |
#define | PW_VERSION_MODULE_EVENTS 0 |
Functions | |
struct pw_module * | pw_module_load (struct pw_core *core, const char *name, const char *args) |
Load a module by name and arguments and register it. More... | |
struct pw_core * | pw_module_get_core (struct pw_module *module) |
Get the core of a module. More... | |
struct pw_global * | pw_module_get_global (struct pw_module *module) |
Get the global of a module. More... | |
const struct pw_module_info * | pw_module_get_info (struct pw_module *module) |
Get the module info. More... | |
void | pw_module_add_listener (struct pw_module *module, struct spa_hook *listener, const struct pw_module_events *events, void *data) |
Add an event listener to a module. More... | |
void | pw_module_destroy (struct pw_module *module) |
Destroy a module. More... | |
struct pw_module * | pw_core_find_module (struct pw_core *core, const char *filename) |
Find a module by filename. More... | |
#define PIPEWIRE_SYMBOL_MODULE_INIT "pipewire__module_init" |
#define PW_TYPE__Module PW_TYPE_OBJECT_BASE "Module" |
#define PW_TYPE_MODULE_BASE PW_TYPE__Module ":" |
#define PW_VERSION_MODULE_EVENTS 0 |
Find a module by filename.
void pw_module_add_listener | ( | struct pw_module * | module, |
struct spa_hook * | listener, | ||
const struct pw_module_events * | events, | ||
void * | data | ||
) |
Add an event listener to a module.
void pw_module_destroy | ( | struct pw_module * | module | ) |
Destroy a module.
Referenced by pw_core::pw_core_destroy().
const struct pw_module_info* pw_module_get_info | ( | struct pw_module * | module | ) |
Get the module info.
Load a module by name and arguments and register it.
Referenced by pw_remote_new().