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.
WpPort
Class structure
Methods
wp_port_get_direction
WpDirection wp_port_get_direction (WpPort * self)
Parameters:
self
–
Returns
–
No description available
Wp.Port.get_direction
def Wp.Port.get_direction (self):
#python wrapper for 'wp_port_get_direction'
Parameters:
self
(
Wp.Port
)
–
Returns
(
Wp.Direction
)
–
No description available
Wp.Port.prototype.get_direction
function Wp.Port.prototype.get_direction(): {
// javascript wrapper for 'wp_port_get_direction'
}
Parameters:
self
(
Wp.Port
)
–
Returns
(
Wp.Direction
)
–
No description available
Enumerations
WpDirection
The different directions the endpoint can have
Members
WP_DIRECTION_INPUT
(0)
–
a sink, consuming input
WP_DIRECTION_OUTPUT
(1)
–
a source, producing output
Wp.Direction
The different directions the endpoint can have
Members
Wp.Direction.INPUT
(0)
–
a sink, consuming input
Wp.Direction.OUTPUT
(1)
–
a source, producing output
Wp.Direction
The different directions the endpoint can have
Members
Wp.Direction.INPUT
(0)
–
a sink, consuming input
Wp.Direction.OUTPUT
(1)
–
a source, producing output
Constants
The results of the search are