Constructor
PwgParamnew_props_controls
since: 0.1
Declaration [src]
PwgParam*
pwg_param_new_props_controls (
GVariant* controls
)
Description [src]
Builds a copied SPA Props parameter containing named float controls in the
params property. This is useful for PipeWire modules that expose controls
by name, such as filter-chain biquad coefficients.
Stability: Unstable
Available since: 0.1
Parameters
controls-
Type:
GVarianta{sd}mapping of control names to values.The data is owned by the caller of the function.
Return value
Type: PwgParam
A copied parameter, or NULL on invalid input.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL. |