Constructor
PwgLinkInfonew_from_global
since: 0.1
Declaration [src]
PwgLinkInfo*
pwg_link_info_new_from_global (
PwgGlobal* global
)
Description [src]
Creates an immutable link info wrapper for a link global.
Stability: Unstable
Available since: 0.1
Parameters
global-
Type:
PwgGlobalA PipeWire global descriptor.
The data is owned by the caller of the function.
Return value
Type: PwgLinkInfo
A new link info object, or NULL if
global is not a PipeWire link.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |