Different representations of a stream volume. gst_stream_volume_convert() 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).
Different representations of a stream volume. gst_stream_volume_convert() 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).