Class

PwgMetadata

since: 0.1

Description [src]

final class Pwg.Metadata : GObject.Object
{
  /* No available fields */
}

Wrapper for a named PipeWire metadata object.

Metadata objects keep a copied cache of observed key/value entries and allow callers to update the bound metadata object.

Stability: Unstable

Available since: 0.1

Ancestors

Constructors

pwg_metadata_new

Creates a wrapper for a named PipeWire metadata object.

since: 0.1

Instance methods

pwg_metadata_clear

Clears all metadata on the bound metadata object.

since: 0.1

pwg_metadata_dup_configured_audio_sink_name

Reads the standard default.configured.audio.sink metadata key and returns the user-configured PipeWire node.name.

since: 0.1

pwg_metadata_dup_configured_audio_source_name

Reads the standard default.configured.audio.source metadata key and returns the user-configured PipeWire node.name.

since: 0.1

pwg_metadata_dup_default_audio_sink_name

Reads the standard default.audio.sink metadata key and returns the selected PipeWire node.name.

since: 0.1

pwg_metadata_dup_default_audio_source_name

Reads the standard default.audio.source metadata key and returns the selected PipeWire node.name.

since: 0.1

pwg_metadata_dup_value

Copies a cached metadata value.

since: 0.1

pwg_metadata_dup_value_type

Copies the type string for a cached metadata value.

since: 0.1

pwg_metadata_get_bound

Gets whether the named metadata object has been discovered and bound.

since: 0.1

pwg_metadata_get_core

Gets the core used by this metadata wrapper.

since: 0.1

pwg_metadata_get_name

Gets the PipeWire metadata global name.

since: 0.1

pwg_metadata_get_running

Gets whether metadata discovery is running.

since: 0.1

pwg_metadata_set

Sets or clears one metadata key. The named metadata object must be bound.

since: 0.1

pwg_metadata_start

Starts discovery for the named metadata object. If the core is not connected, this method connects it first.

since: 0.1

pwg_metadata_stop

Stops metadata discovery and clears the current local cache.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Pwg.Metadata:bound

Whether the named metadata object has been discovered and bound.

since: 0.1

Pwg.Metadata:core

PipeWire core used by this metadata wrapper.

since: 0.1

Pwg.Metadata:name

PipeWire metadata global name.

since: 0.1

Pwg.Metadata:running

Whether metadata discovery is running.

since: 0.1

Signals

Pwg.Metadata::changed

Emitted from the object’s construction thread-default main context when the bound metadata object reports a property change.

since: 0.1

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 PwgMetadataClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.