PipeWire  0.1.4
link.h File Reference
Include dependency graph for link.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pw_link_events
 

Macros

#define PW_TYPE__Link   PW_TYPE_OBJECT_BASE "Link"
 
#define PW_TYPE_LINK_BASE   PW_TYPE__Link ":"
 
#define PW_VERSION_LINK_EVENTS   0
 

Functions

void pw_link_add_listener (struct pw_link *link, struct spa_hook *listener, const struct pw_link_events *events, void *data)
 
struct pw_corepw_link_get_core (struct pw_link *link)
 
void * pw_link_get_user_data (struct pw_link *link)
 
const struct pw_link_infopw_link_get_info (struct pw_link *link)
 
struct pw_globalpw_link_get_global (struct pw_link *link)
 Get the global of the link. More...
 
struct pw_portpw_link_get_output (struct pw_link *link)
 Get the output port of the link. More...
 
struct pw_portpw_link_get_input (struct pw_link *link)
 Get the input port of the link. More...
 
void pw_link_inc_idle (struct pw_link *link)
 Indicate that linked nodes can be idle even when linked with this link. More...
 

Macro Definition Documentation

◆ PW_TYPE__Link

#define PW_TYPE__Link   PW_TYPE_OBJECT_BASE "Link"

◆ PW_TYPE_LINK_BASE

#define PW_TYPE_LINK_BASE   PW_TYPE__Link ":"

◆ PW_VERSION_LINK_EVENTS

#define PW_VERSION_LINK_EVENTS   0

Function Documentation

◆ pw_link_add_listener()

void pw_link_add_listener ( struct pw_link link,
struct spa_hook *  listener,
const struct pw_link_events events,
void *  data 
)

◆ pw_link_get_core()

struct pw_core* pw_link_get_core ( struct pw_link link)

References pw_link::core.

◆ pw_link_get_global()

struct pw_global* pw_link_get_global ( struct pw_link link)

Get the global of the link.

References pw_link::global.

◆ pw_link_get_info()

const struct pw_link_info* pw_link_get_info ( struct pw_link link)

References pw_link::info.

◆ pw_link_get_input()

struct pw_port* pw_link_get_input ( struct pw_link link)

Get the input port of the link.

References pw_link::input.

◆ pw_link_get_output()

struct pw_port* pw_link_get_output ( struct pw_link link)

Get the output port of the link.

References pw_link::output.

◆ pw_link_get_user_data()

void* pw_link_get_user_data ( struct pw_link link)

References pw_link::user_data.

◆ pw_link_inc_idle()

void pw_link_inc_idle ( struct pw_link link)

Indicate that linked nodes can be idle even when linked with this link.

References pw_node::idle_used_input_links, pw_node::idle_used_output_links, pw_link::input, pw_port::node, and pw_link::output.