Class

AstalWpNode

Description

class AstalWp.Node : GObject.Object
{
  /* No available fields */
}

No description available.

Ancestors

Instance methods

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.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 AstalWpNodeClass {
  GObjectClass parent_class;
  void (* params_changed) (
    AstalWpNode* self,
    const gchar* id
  );
  void (* metadata_changed) (
    AstalWpNode* self,
    const gchar* key,
    const gchar* type,
    const gchar* value
  );
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.

params_changed: void (* params_changed) ( AstalWpNode* self, const gchar* id )

No description available.

metadata_changed: void (* metadata_changed) ( AstalWpNode* self, const gchar* key, const gchar* type, const gchar* value )

No description available.

Virtual methods

AstalWp.NodeClass.metadata_changed
No description available.

AstalWp.NodeClass.params_changed
No description available.