quartz: add implementations for AmpFactorToDB and DBToAmpFactor

Roderick Colenbrander thunderbird2k at gmx.net
Tue Jan 2 10:27:05 CST 2007


Why are you using a lookup table and not just a log10(x) and 10^(x) for the gain <-> dB conversions? That's how it should be done I think like 10x corresponding to 20dB (assuming signal gain). In your tests it is just:
2000*log10(gain) - 9630 for going to that dB-like scale.

Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

More information about the wine-devel mailing list