[pulseaudio-discuss] [PATCH] Documentation of known misuse of PulseAudio API

Alexander E. Patrakov patrakov at gmail.com
Sun Dec 22 02:09:09 PST 2013


2013/12/22 Raymond Yau <superquad.vortex2 at gmail.com>:
> Refer to
> http://cgit.freedesktop.org/pulseaudio/pulseaudio/plain/src/tests/volume-test.c
>
> why 200% is equal to 18.06 dB ?
>
>  160% / 12.25 dB
>  120% / 4.75 dB

Looks like the "cubic mapping" thingy, see
http://lists.freedesktop.org/archives/pulseaudio-discuss/2012-August/014570.html

160% -> raise to the third power, get 4.096, and convert that to dB
(i.e. 20 * log10(x)). Get 12.25 dB.

-- 
Alexander E. Patrakov


More information about the pulseaudio-discuss mailing list