Constructor
PwgMetadatanew
since: 0.1
Declaration [src]
PwgMetadata*
pwg_metadata_new (
PwgCore* core,
const char* name
)
Description [src]
Creates a wrapper for a named PipeWire metadata object.
Stability: Unstable
Available since: 0.1
Parameters
core-
Type:
PwgCoreA PipeWire core wrapper.
The data is owned by the caller of the function. name-
Type:
const char*The PipeWire metadata global name, such as
default.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Return value
Type: PwgMetadata
A new metadata wrapper.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |