PipeWire Port¶
-
struct
WpPort¶ The WpPort class allows accessing the properties and methods of a PipeWire port object (
struct pw_port).A WpPort is constructed internally when a new port appears on the PipeWire registry and it is made available through the WpObjectManager API.
-
enum
wpport::WpDirection¶ The different directions that a port can have.
Values:
-
WP_DIRECTION_INPUT¶ a sink, consuming input
-
WP_DIRECTION_OUTPUT¶ a source, producing output
-
-
WpDirection
wp_port_get_direction(WpPort * self)¶ Gets the current direction of the port.
- Remark
Requires WP_PIPEWIRE_OBJECT_FEATURE_INFO
- Return
the current direction of the port
- Parameters
self: the port
-
WP_TYPE_PORT(wp_port_get_type ())¶ The WpPort GType.