PIpeWire Endpoint

WpEndpoint

GObject
    ╰──WpObject
        ╰──WpProxy
            ╰──WpGlobalProxy
                ╰──WpEndpoint
                    ╰──WpImplEndpoint

The WpEndpoint class allows accessing the properties and methods of a PipeWire endpoint object (struct pw_endpoint from the session-manager extension).

A WpEndpoint is constructed internally when a new endpoint appears on the PipeWire registry and it is made available through the WpObjectManager API.

Members

parent_instance (WpGlobalProxy) –
No description available

Class structure

WpEndpointClass

Fields
parent_class (WpGlobalProxyClass) –
No description available

Methods

wp_endpoint_get_direction

WpDirection
wp_endpoint_get_direction (WpEndpoint * self)

Requires WP_PIPEWIRE_OBJECT_FEATURE_INFO

Parameters:

self

the endpoint

Returns

the direction of this endpoint


wp_endpoint_get_media_class

const gchar*
wp_endpoint_get_media_class (WpEndpoint * self)

Requires WP_PIPEWIRE_OBJECT_FEATURE_INFO

Parameters:

self

the endpoint

Returns

the media class of the endpoint (ex. "Audio/Sink")


wp_endpoint_get_name

const gchar*
wp_endpoint_get_name (WpEndpoint * self)

Requires WP_PIPEWIRE_OBJECT_FEATURE_INFO

Parameters:

self

the endpoint

Returns

the name of the endpoint


Properties

direction

“direction” WpDirection *

The direction of the endpoint

Flags : Read


media-class

“media-class” gchar*

The media class of the endpoint (ex. "Audio/Sink")

Flags : Read


name

“name” gchar*

The name of the endpoint

Flags : Read


WpImplEndpoint

GObject
    ╰──WpObject
        ╰──WpProxy
            ╰──WpGlobalProxy
                ╰──WpEndpoint
                    ╰──WpImplEndpoint

Class structure

WpImplEndpointClass

Fields
parent_class (WpEndpointClass) –
No description available

Constructors

wp_impl_endpoint_new

WpImplEndpoint *
wp_impl_endpoint_new (WpCore * core,
                      WpSiEndpoint * item)

Parameters:

core
No description available
item
No description available
Returns
No description available

Properties

item

“item” WpSiEndpoint *

Flags : Read / Write / Construct Only


Constants

WP_TYPE_ENDPOINT

#define WP_TYPE_ENDPOINT (wp_endpoint_get_type ())

The WpEndpoint GType


WP_TYPE_IMPL_ENDPOINT

#define WP_TYPE_IMPL_ENDPOINT (wp_impl_endpoint_get_type ())

The WpImplEndpoint GType


The results of the search are