update existing dpm meter-falloff config to new fastest.
authorRobin Gareus <robin@gareus.org>
Wed, 15 Jul 2015 21:18:13 +0000 (23:18 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 15 Jul 2015 21:18:13 +0000 (23:18 +0200)
libs/ardour/ardour/utils.h
libs/ardour/utils.cc

index 4b71c1586ed74ebfee6133c315bcefe65672fa04..682206f58af27b134bdbaa293dda64f78de8f6d4 100644 (file)
@@ -161,8 +161,6 @@ LIBARDOUR_API double slider_position_to_gain_with_max (double g, double max_gain
 #define METER_FALLOFF_MODERATE  13.3f // EBU-PPM, IRT PPM-   20dB / 1.5 sec
 #define METER_FALLOFF_MEDIUM    20.0f
 #define METER_FALLOFF_FAST      32.0f
-#define METER_FALLOFF_FASTER    46.0f
-#define METER_FALLOFF_FASTEST   70.0f
 
 LIBARDOUR_API float meter_falloff_to_float (ARDOUR::MeterFalloff);
 LIBARDOUR_API ARDOUR::MeterFalloff meter_falloff_from_float (float);
index 2ada8ce79beaf294126a806cc6cc776a2751a0ba..aa9ea355427cf0a3bf8ff2eeafce44f9e2ad99ec 100644 (file)
@@ -525,11 +525,8 @@ ARDOUR::meter_falloff_to_float (MeterFalloff falloff)
        case MeterFalloffModerate:
                return METER_FALLOFF_MODERATE;
        case MeterFalloffFast:
-               return METER_FALLOFF_FAST;
-       case MeterFalloffFaster:
-               return METER_FALLOFF_FASTER;
+       case MeterFalloffFaster:  // backwards compat enum MeterFalloff
        case MeterFalloffFastest:
-               return METER_FALLOFF_FASTEST;
        default:
                return METER_FALLOFF_FAST;
        }