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