Method
PwgRegistrylookup_global_by_property
since: 0.1
Declaration [src]
PwgGlobal*
pwg_registry_lookup_global_by_property (
PwgRegistry* self,
const char* key,
const char* value
)
Description [src]
Looks up the first global with a matching property.
Stability: Unstable
Available since: 0.1
Parameters
key-
Type:
const char*A PipeWire property key.
The data is owned by the caller of the method. The value is a NUL terminated UTF-8 string. value-
Type:
const char*A PipeWire property value.
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. |