Subject: peak-meter scaling according to IEC-268-18 is misimplemented
Bug-Lad:
 http://lists.linuxaudio.org/pipermail/linux-audio-dev/2012-June/033486.html
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677547
Author: Robin Gareus <robin@gareus.org>
---
 src/dpm_meters.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- meterbridge.orig/src/dpm_meters.c
+++ meterbridge/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) {
