PipeWire
0.3.33
|
Data Structures | |
struct | impl |
Macros | |
#define | NAME "control" |
Functions | |
struct pw_control * | pw_control_new (struct pw_context *context, struct pw_impl_port *port, uint32_t id, uint32_t size, size_t user_data_size) |
void | pw_control_destroy (struct pw_control *control) |
struct pw_impl_port * | pw_control_get_port (struct pw_control *control) |
Get the control parent port or NULL when not set. More... | |
void | pw_control_add_listener (struct pw_control *control, struct spa_hook *listener, const struct pw_control_events *events, void *data) |
Add an event listener on the control. More... | |
int | pw_control_add_link (struct pw_control *control, uint32_t cmix, struct pw_control *other, uint32_t omix, struct pw_control_link *link) |
int | pw_control_remove_link (struct pw_control_link *link) |
#define NAME "control" |
int pw_control_add_link | ( | struct pw_control * | control, |
uint32_t | cmix, | ||
struct pw_control * | other, | ||
uint32_t | omix, | ||
struct pw_control_link * | link | ||
) |
References control::id, impl::mem, NAME, pw_log_debug, PW_MEMBLOCK_FLAG_MAP, PW_MEMBLOCK_FLAG_READWRITE, PW_MEMBLOCK_FLAG_SEAL, pw_mempool_alloc(), SPA_CONTAINER_OF, SPA_DATA_MemFd, spa_debug_type_find_name(), SPA_DIRECTION_INPUT, SPA_DIRECTION_OUTPUT, spa_list_is_empty, SPA_MAX, SPA_SWAP, and spa_type_io.
void pw_control_destroy | ( | struct pw_control * | control | ) |
References control::link, impl::mem, NAME, pw_control_remove_link(), pw_log_debug, SPA_CONTAINER_OF, SPA_DIRECTION_OUTPUT, spa_hook_list_clean(), spa_list_consume, and spa_list_remove().
Referenced by pw_impl_port_destroy().
struct pw_control* pw_control_new | ( | struct pw_context * | context, |
struct pw_impl_port * | port, | ||
uint32_t | id, | ||
uint32_t | size, | ||
size_t | user_data_size | ||
) |
int pw_control_remove_link | ( | struct pw_control_link * | link | ) |
References link::input, NAME, link::output, pw_log_debug, spa_list_is_empty, and spa_list_remove().
Referenced by pw_control_destroy().