Package: meterbridge Version: 0.9.2-9 Severity: important Tags: patch upstream
The IEC scale function includes a typo which makes the range between -60db and -50db not continuous. Furthermore the image of the rendered the IEC 268-18:1995 scale is also wrong. Upstream can not be reached and the issue has been reported to http://lists.linuxaudio.org/pipermail/linux-audio-dev/2012-June/033486.html -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (400, 'unstable'), (300, 'stable') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-rt-686-pae (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages meterbridge depends on: ii jackd 5 ii libc6 2.13-21 ii libjack-jackd2-0 [libjack-0.116] 1.9.8~dfsg.2-1 ii libsdl-image1.2 1.2.12-2 ii libsdl1.2debian 1.2.15-3 meterbridge recommends no packages. meterbridge suggests no packages. -- no debconf information
diff --git a/src/dpm_meters.c b/src/dpm_meters.c index 34738c2..b1ea69c 100644 --- a/src/dpm_meters.c +++ b/src/dpm_meters.c @@ -33,7 +33,7 @@ int iec_scale(float db) { } else if (db < -60.0f) { def = (db + 70.0f) * 0.25f; } else if (db < -50.0f) { - def = (db + 60.0f) * 0.5f + 5.0f; + def = (db + 60.0f) * 0.5f + 2.5f; } else if (db < -40.0f) { def = (db + 50.0f) * 0.75f + 7.5; } else if (db < -30.0f) {
<<attachment: iec268-scale.png>>