A link is the connection between 2 nodes (PipeWire Node).
More...
A link is the connection between 2 nodes (PipeWire Node).
Nodes are linked together on ports.
The link is responsible for negotiating the format and buffers for the nodes.
◆ pw_link_add_listener
#define pw_link_add_listener |
( |
|
c, |
|
|
|
... |
|
) |
| pw_link_method(c,add_listener,0,__VA_ARGS__) |
◆ PW_LINK_EVENT_INFO
#define PW_LINK_EVENT_INFO 0 |
◆ PW_LINK_EVENT_NUM
#define PW_LINK_EVENT_NUM 1 |
◆ pw_link_method
#define pw_link_method |
( |
|
o, |
|
|
|
method, |
|
|
|
version, |
|
|
|
... |
|
) |
| |
Value:({ \
int _res = -ENOTSUP; \
method, version, ##__VA_ARGS__); \
_res; \
})
◆ PW_LINK_METHOD_ADD_LISTENER
#define PW_LINK_METHOD_ADD_LISTENER 0 |
◆ PW_LINK_METHOD_NUM
#define PW_LINK_METHOD_NUM 1 |
◆ PW_TYPE_INTERFACE_Link
◆ PW_VERSION_LINK
#define PW_VERSION_LINK 3 |
◆ pw_link_state
The different link states.
Enumerator |
---|
PW_LINK_STATE_ERROR | the link is in error
|
PW_LINK_STATE_UNLINKED | the link is unlinked
|
PW_LINK_STATE_INIT | the link is initialized
|
PW_LINK_STATE_NEGOTIATING | the link is negotiating formats
|
PW_LINK_STATE_ALLOCATING | the link is allocating buffers
|
PW_LINK_STATE_PAUSED | the link is paused
|
PW_LINK_STATE_ACTIVE | the link is active
|
◆ pw_link_info_free()
◆ pw_link_info_update()
References pw_link_info::change_mask, pw_link_info::error, pw_link_info::format, pw_link_info::id, pw_link_info::input_node_id, pw_link_info::input_port_id, pw_link_info::output_node_id, pw_link_info::output_port_id, pw_link_info::props, PW_LINK_CHANGE_MASK_FORMAT, PW_LINK_CHANGE_MASK_PROPS, PW_LINK_CHANGE_MASK_STATE, spa_pod_copy(), and pw_link_info::state.
◆ pw_link_state_as_string()