Enumeration (GI Enum)

GstAudio-1.0GstAudioStreamVolumeFormat

Different representations of a stream volume. gst_stream_volume_convert_volume() allows to convert between the different representations.

Formulas to convert from a linear to a cubic or dB volume are cbrt(val) and 20 * log10 (val).

Index

Enumeration Members

Enumeration Members

CUBIC: number

Cubic volume scale

DB: number

Logarithmic volume scale (dB, amplitude not power)

LINEAR: number

Linear scale factor, 1.0 = 100%