PipeWire
0.1.6
|
Macros | |
#define | MAX_BUFFERS 16 |
Functions | |
bool | pw_link_activate (struct pw_link *this) |
bool | pw_link_deactivate (struct pw_link *this) |
struct pw_link * | pw_link_new (struct pw_core *core, struct pw_port *output, struct pw_port *input, struct spa_format *format_filter, struct pw_properties *properties, char **error, size_t user_data_size) |
void | pw_link_register (struct pw_link *link, struct pw_client *owner, struct pw_global *parent) |
Finish link configuration and register. More... | |
void | pw_link_destroy (struct pw_link *link) |
void | pw_link_add_listener (struct pw_link *link, struct spa_hook *listener, const struct pw_link_events *events, void *data) |
Add an event listener to link. More... | |
struct pw_link * | pw_link_find (struct pw_port *output_port, struct pw_port *input_port) |
struct pw_core * | pw_link_get_core (struct pw_link *link) |
Get the core of a link. More... | |
void * | pw_link_get_user_data (struct pw_link *link) |
Get the user_data of a link, the size of the memory is given when constructing the link. More... | |
const struct pw_link_info * | pw_link_get_info (struct pw_link *link) |
Get the link info. More... | |
struct pw_global * | pw_link_get_global (struct pw_link *link) |
Get the global of the link. More... | |
struct pw_port * | pw_link_get_output (struct pw_link *link) |
Get the output port of the link. More... | |
struct pw_port * | pw_link_get_input (struct pw_link *link) |
Get the input port of the link. More... | |
#define MAX_BUFFERS 16 |
bool pw_link_activate | ( | struct pw_link * | this | ) |
References pw_work_queue_add().
void pw_link_add_listener | ( | struct pw_link * | link, |
struct spa_hook * | listener, | ||
const struct pw_link_events * | events, | ||
void * | data | ||
) |
Add an event listener to link.
bool pw_link_deactivate | ( | struct pw_link * | this | ) |
References pw_loop_invoke.
Referenced by pw_link_destroy().
void pw_link_destroy | ( | struct pw_link * | link | ) |
References pw_global_destroy(), pw_link_deactivate(), and pw_resource_destroy().
Referenced by pw_link_new().
const struct pw_link_info* pw_link_get_info | ( | struct pw_link * | link | ) |
Get the link info.
void* pw_link_get_user_data | ( | struct pw_link * | link | ) |
Get the user_data of a link, the size of the memory is given when constructing the link.
struct pw_link* pw_link_new | ( | struct pw_core * | core, |
struct pw_port * | output, | ||
struct pw_port * | input, | ||
struct spa_format * | format_filter, | ||
struct pw_properties * | properties, | ||
char ** | error, | ||
size_t | user_data_size | ||
) |
References pw_link_find(), PW_LINK_PROP_PASSIVE, PW_LINK_STATE_INIT, pw_properties_get(), and pw_work_queue_new().
void pw_link_register | ( | struct pw_link * | link, |
struct pw_client * | owner, | ||
struct pw_global * | parent | ||
) |
Finish link configuration and register.
link | the link to register |
owner | optional link owner |
parent | parent global |
References pw_core_add_global(), and PW_VERSION_LINK.