Class

PwgCore

since: 0.1

Description [src]

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

Wrapper for a PipeWire core connection.

Core objects own the PipeWire loop, context, and core handles used by registry and metadata helper objects.

Stability: Unstable

Available since: 0.1

Ancestors

Constructors

pwg_core_new

Creates a wrapper for a PipeWire core connection.

since: 0.1

Instance methods

pwg_core_connect

Connects this wrapper to PipeWire.

since: 0.1

pwg_core_disconnect

Disconnects from PipeWire if currently connected.

since: 0.1

pwg_core_get_connected

Gets whether this wrapper currently has an active PipeWire connection.

since: 0.1

pwg_core_get_library_version

Gets the linked PipeWire library version string.

since: 0.1

pwg_core_load_module

Loads a PipeWire implementation module into this core context.

since: 0.1

pwg_core_set_pipewire_property

Sets an app-specific PipeWire client property before this core connects. This can be used for bindable identity and policy hints such as application.name, application.id, or media.category.

since: 0.1

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Pwg.Core:connected

Whether this object has an active PipeWire core connection.

since: 0.1

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

No description available.

Class members
parent_class: GObjectClass

No description available.