[SCM] calf/master: The range given in the comment wasn't really correct.

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:40:27 UTC 2013


The following commit has been merged in the master branch:
commit 292cdaa81dab7e7d948f597041cb86d70dc5ff92
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sat Nov 6 23:46:24 2010 +0000

    The range given in the comment wasn't really correct.

diff --git a/src/calf/giface.h b/src/calf/giface.h
index 746200b..bc01da3 100644
--- a/src/calf/giface.h
+++ b/src/calf/giface.h
@@ -636,7 +636,7 @@ extern const char *calf_copyright_info;
 
 bool get_freq_gridline(int subindex, float &pos, bool &vertical, std::string &legend, cairo_iface *context, bool use_frequencies = true, float res = 256, float ofs = 0.4);
     
-/// convert amplitude value to normalized grid-ish value (0dB = 0.5, 30dB = 1.0, -30 dB = 0.0, -60dB = -0.5, -90dB = -1.0)
+/// convert amplitude value to normalized grid-ish value
 static inline float dB_grid(float amp, float res = 256, float ofs = 0.4)
 {
     return log(amp) * (1.0 / log(res)) + ofs;

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list