PipeWire
0.3.27
|
The port object. More...
Public Member Functions | |
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. More... | |
int | pw_impl_port_add (struct pw_impl_port *port, struct pw_impl_node *node) |
Add a port to a node. More... | |
The port object.
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.
References impl::cache_params, pw_properties::dict, NAME, impl::param_list, impl::pending_list, pw_introspect::pw_direction_as_string(), PW_DIRECTION_INPUT, PW_IMPL_PORT_STATE_INIT, PW_KEY_PORT_ID, PW_KEY_PORT_PHYSICAL, PW_KEY_PORT_TERMINAL, pw_log::pw_log_debug, PW_PORT_CHANGE_MASK_PROPS, pw_properties::pw_properties_new(), pw_properties::pw_properties_new_dict(), pw_properties::pw_properties_set(), pw_properties::pw_properties_setf(), res, and impl::this.
int pw_impl_port_add | ( | struct pw_impl_port * | port, |
struct pw_impl_node * | node | ||
) |
Add a port to a node.
References port::direction, port::node, port::port_id, PW_DIRECTION_INPUT, pw_impl_port_for_each_param(), pw_map::pw_map_insert_at(), pw_map::pw_map_lookup(), and res.