Constructor

PwgParamnew_props_volume

since: 0.1

Declaration [src]

PwgParam*
pwg_param_new_props_volume (
  double volume
)

Description [src]

Builds a copied SPA Props parameter containing a volume property.

Stability: Unstable

Available since: 0.1

Parameters

volume

Type: double

Linear volume, where 0.0 is silence and 1.0 is unity gain.

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.