Constructor
PwgRouteInfonew_from_param
since: 0.1
Declaration [src]
PwgRouteInfo*
pwg_route_info_new_from_param (
PwgParam* param
)
Description [src]
Creates a typed route view from a copied EnumRoute or Route parameter.
Stability: Unstable
Available since: 0.1
Parameters
param-
Type:
PwgParamA copied route parameter.
The data is owned by the caller of the function.
Return value
Type: PwgRouteInfo
A route view, or NULL if param is not
a PipeWire route parameter.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |