Method

PwgRegistrylookup_global_by_object_serial

since: 0.1

Declaration [src]

PwgGlobal*
pwg_registry_lookup_global_by_object_serial (
  PwgRegistry* self,
  const char* object_serial
)

Description [src]

Looks up the first global with a matching PipeWire object serial.

Stability: Unstable

Available since: 0.1

Parameters

object_serial

Type: const char*

A PipeWire object serial string.

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

Return value

Type: PwgGlobal

The first matching global, or NULL.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.