Constructor
PwgNodeInfonew_from_global
since: 0.1
Declaration [src]
PwgNodeInfo*
pwg_node_info_new_from_global (
PwgGlobal* global
)
Description [src]
Creates an immutable node info wrapper for a node 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: PwgNodeInfo
A new node info object, or NULL if
global is not a PipeWire node.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |