Class

AstalWpEndpoint

Description

final class AstalWp.Endpoint : AstalWp.Node
{
  /* No available fields */
}

No description available.

Ancestors

Instance methods

astal_wp_endpoint_get_device

Gets the device associated with this endpoint.

astal_wp_endpoint_get_device_id

Gets the id of the device associated with this endpoint.

astal_wp_endpoint_get_is_default

Is this endpoint configured as the default.

astal_wp_endpoint_get_route

Gets the currently active AstalWpRoute.

astal_wp_endpoint_get_route_id

Gets the id of the currently active route.

astal_wp_endpoint_get_routes

Gets a list of available routes. This list is filtered and contains only routes, that are actually available. You can get a full list of routes from AstalWpDevice:routes.

astal_wp_endpoint_set_is_default

Sets this endpoint as the default.

astal_wp_endpoint_set_route

Sets the currently active AstalWpRoute.

astal_wp_endpoint_set_route_id

Sets the currently active route id.

Methods inherited from AstalWpNode (19)
astal_wp_node_get_channels

Gets the list representing the per channel volumes.

astal_wp_node_get_description

Gets the description of this node.

astal_wp_node_get_icon

Gets the icon for this node.

astal_wp_node_get_id

Gets the id of the node.

astal_wp_node_get_lock_channels
No description available.

astal_wp_node_get_media_class

Gets the media class of the node.

astal_wp_node_get_mute

Gets the mute status of the node.

astal_wp_node_get_name

Gets the name of this node.

astal_wp_node_get_path

Gets the object path of this node.

astal_wp_node_get_pw_property

Gets the pipewire property with the give key. You should use the GObject properties of this node whereever possible, as you can get notified on changes, which is not the case here.

astal_wp_node_get_serial

Gets the serial number of this node.

astal_wp_node_get_state

Gets the current state of this node.

astal_wp_node_get_volume

Gets the volume.

astal_wp_node_get_volume_icon
No description available.

astal_wp_node_metadata_changed
No description available.

astal_wp_node_params_changed
No description available.

astal_wp_node_set_lock_channels

Lock the channel volumes together. If set, all channels will always have the same volume.

astal_wp_node_set_mute

Sets the mute status for the node.

astal_wp_node_set_volume

Sets the volume level for this node. The volume is clamped to be between 0 and 1.5.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalWp.Endpoint:default-plugin
No description available.

AstalWp.Endpoint:device

The the device associated with this endpoint.

AstalWp.Endpoint:device-id

The id of the device associated with this endpoint.

AstalWp.Endpoint:is-default

Whether this node is the default one used for this media-class. Note that setting this property to false has no effect.

AstalWp.Endpoint:is-default-node
No description available.

AstalWp.Endpoint:route
No description available.

AstalWp.Endpoint:route-id
No description available.

AstalWp.Endpoint:routes

A list of available routes.

Properties inherited from AstalWpNode (16)
AstalWp.Node:channels

A list of per channel volumes.

AstalWp.Node:description

The description of this node.

AstalWp.Node:icon

The icon of this node. Note that nodes do not have icons associated with them in pipewire, so the icon of the associated device is used instead.

AstalWp.Node:id

The pipewire id of this node.

AstalWp.Node:lock-channels

Whether to lock the channels together or not.

AstalWp.Node:media-class

The media class of this node.

AstalWp.Node:mixer-plugin
No description available.

AstalWp.Node:mute

The mute state of this node.

AstalWp.Node:name

The name of this node.

AstalWp.Node:node
No description available.

AstalWp.Node:path

The object path of this node.

AstalWp.Node:serial

The object serial of this node.

AstalWp.Node:state

The current state of this node.

AstalWp.Node:volume

The volume of this node.

AstalWp.Node:volume-icon

The volume icon of this node.

AstalWp.Node:wp
No description available.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalWpEndpointClass {
  AstalWpNodeClass parent_class;
  
}

No description available.

Class members
parent_class: AstalWpNodeClass

No description available.