PipeWire  0.3.32
control.c File Reference

Data Structures

struct  impl


#define NAME   "control"


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)
SPA_EXPORT struct pw_impl_port * pw_control_get_port (struct pw_control *control)
 Get the control parent port or NULL when not set. More...
SPA_EXPORT 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...
SPA_EXPORT int pw_control_add_link (struct pw_control *control, uint32_t cmix, struct pw_control *other, uint32_t omix, struct pw_control_link *link)
SPA_EXPORT int pw_control_remove_link (struct pw_control_link *link)

Macro Definition Documentation


#define NAME   "control"

Function Documentation

◆ pw_control_add_link()

SPA_EXPORT int pw_control_add_link ( struct pw_control *  control,
uint32_t  cmix,
struct pw_control *  other,
uint32_t  omix,
struct pw_control_link *  link 

◆ pw_control_destroy()

◆ pw_control_new()

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 

◆ pw_control_remove_link()

SPA_EXPORT int pw_control_remove_link ( struct pw_control_link *  link)