PipeWire
0.2.0
|
Go to the source code of this file.
Data Structures | |
struct | pw_control_events |
Port events, use pw_control_add_listener. More... | |
Macros | |
#define | PW_TYPE__Control "PipeWire:Object:Control" |
#define | PW_TYPE_CONTROL_BASE PW_TYPE__Control ":" |
#define | PW_VERSION_PORT_EVENTS 0 |
Functions | |
struct pw_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_link (struct pw_control *control, struct pw_control *other) |
int | pw_control_unlink (struct pw_control *control, struct pw_control *other) |
#define PW_TYPE__Control "PipeWire:Object:Control" |
#define PW_TYPE_CONTROL_BASE PW_TYPE__Control ":" |
#define PW_VERSION_PORT_EVENTS 0 |
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.
struct pw_port* pw_control_get_port | ( | struct pw_control * | control | ) |
Get the control parent port or NULL when not set.
int pw_control_link | ( | struct pw_control * | control, |
struct pw_control * | other | ||
) |
int pw_control_unlink | ( | struct pw_control * | control, |
struct pw_control * | other | ||
) |
References pw_log::pw_log_debug(), and pw_log::pw_log_warn().
Referenced by pw_control_destroy().