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

GObject
    ╰──WpProxy
        ╰──WpPort

Class structure

WpPortClass

Fields
parent_class (WpProxyClass) –
No description available

Wp.PortClass

Attributes
parent_class (Wp.ProxyClass) –
No description available

Wp.PortClass

Attributes
parent_class (Wp.ProxyClass) –
No description available

WpPort

GObject
    ╰──WpProxy
        ╰──WpPort

WpPort

GObject
    ╰──WpProxy
        ╰──WpPort

Methods

wp_port_get_direction

WpDirection
wp_port_get_direction (WpPort * self)

Parameters:

self
No description available
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 ) –
No description available
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 ) –
No description available
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

WP_TYPE_PORT

#define WP_TYPE_PORT (wp_port_get_type ())

The WpPort GType


The results of the search are