PipeWire  0.3.15
pw_impl_port Class Reference

Public Member Functions

struct pw_impl_portpw_context_create_port (struct pw_context *context, enum pw_direction direction, uint32_t port_id, const struct spa_port_info *info, size_t user_data_size)
 Create a new port. More...
 
int pw_impl_port_add (struct pw_impl_port *port, struct pw_impl_node *node)
 Add a port to a node. More...
 

Detailed Description

The port object

Member Function Documentation

◆ pw_context_create_port()

struct pw_impl_port * pw_context_create_port ( struct pw_context context,
enum pw_direction  direction,
uint32_t  port_id,
const struct spa_port_info *  info,
size_t  user_data_size 
)

Create a new port.

Returns
a newly allocated port

◆ pw_impl_port_add()

int pw_impl_port_add ( struct pw_impl_port port,
struct pw_impl_node node 
)

Add a port to a node.


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