PipeWire: pw_impl_link Class Reference

PipeWire 0.3.25

Public Member Functions
pw_impl_link Class Reference

PipeWire link object. More...

## Public Member Functions
struct pw_impl_link * | pw_context_create_link (struct pw_context *context, struct pw_impl_port *output, struct pw_impl_port *input, struct spa_pod *format_filter, struct pw_properties *properties, size_t user_data_size)
| Make a new link between two ports. More...
void | pw_impl_link_destroy (struct pw_impl_link *link)
| Destroy a link. More...
struct pw_impl_link * | pw_impl_link_find (struct pw_impl_port *output, struct pw_impl_port *input)
| Find the link between 2 ports. More...

## Detailed Description

PipeWire link object.

## Member Function Documentation

## ◆ pw_context_create_link()

struct pw_impl_link * pw_context_create_link | ( | struct pw_context * | context,
|  | struct pw_impl_port * | output,
|  | struct pw_impl_port * | input,
|  | struct spa_pod * | format_filter,
|  | struct pw_properties * | properties,
|  | size_t | user_data_size
| ) |  |

Make a new link between two ports.

Returns
  a newly allocated link

Parameters

  context | the context object
  output | an output port
  input | an input port
  format_filter | an optional format filter
  properties | extra properties
  user_data_size | extra user data size

References PW_DIRECTION_INPUT, PW_DIRECTION_OUTPUT, pw_impl_link_find(), and res.

## ◆ pw_impl_link_destroy()

void pw_impl_link_destroy | ( | struct pw_impl_link * | link | ) |

Destroy a link.

References NAME, pw_impl_link_deactivate(), pw_log::pw_log_debug, and pw_log::pw_log_info.

## ◆ pw_impl_link_find()

struct pw_impl_link * pw_impl_link_find | ( | struct pw_impl_port * | output,
|  | struct pw_impl_port * | input
| ) |  |

Find the link between 2 ports.

Referenced by pw_context_create_link().

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

- impl-link.h