PipeWire  0.2.0
pw_link Class Reference

PipeWire link object. More...

Public Member Functions

const char * pw_link_state_as_string (enum pw_link_state state)
 Convert a pw_link_state to a readable string. More...
 
struct pw_linkpw_link_new (struct pw_core *core, struct pw_port *output, struct pw_port *input, struct spa_pod *format_filter, struct pw_properties *properties, char **error, size_t user_data_size)
 Make a new link between two ports. More...
 
void pw_link_destroy (struct pw_link *link)
 Destroy a link. More...
 
struct pw_linkpw_link_find (struct pw_port *output, struct pw_port *input)
 Find the link between 2 ports. More...
 

Detailed Description

PipeWire link object.

Member Function Documentation

◆ pw_link_destroy()

void pw_link_destroy ( struct pw_link link)

Destroy a link.

Referenced by pw_port_unlink().

◆ pw_link_find()

struct pw_link * pw_link_find ( struct pw_port output,
struct pw_port input 
)

Find the link between 2 ports.

Referenced by pw_link_new().

◆ pw_link_new()

struct pw_link * pw_link_new ( struct pw_core core,
struct pw_port output,
struct pw_port input,
struct spa_pod *  format_filter,
struct pw_properties properties,
char **  error,
size_t  user_data_size 
)

Make a new link between two ports.

Returns
a newly allocated link
Parameters
corethe core object
outputan output port
inputan input port
format_filteran optional format filter
propertiesextra properties
errorerror string when result is NULL
user_data_sizeextra user data size

◆ pw_link_state_as_string()

const char * pw_link_state_as_string ( enum pw_link_state  state)

Convert a pw_link_state to a readable string.


The documentation for this class was generated from the following files: