Method

PwgRegistrydup_globals_by_media_class

since: 0.1

Declaration [src]

GListModel*
pwg_registry_dup_globals_by_media_class (
  PwgRegistry* self,
  const char* media_class
)

Description [src]

Copies a snapshot list of globals with a matching media class.

Stability: Unstable

Available since: 0.1

Parameters

media_class

Type: const char*

A PipeWire media class.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: A list model of GObject

A GListModel of PwgGlobal objects.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.