Trim_dB is a very simple plug-in and works using some of the most basic DSP logic.
The following represents the mathematics of the logarithmic scale, the DSP difference equation in both block and C++ format:
dB = 20log(x)
x = 10db/20
where "x" is an input from -96 to 0.
m_fVolume = pow(10.0, m_fVolume_dB / 20.0);