mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 11:06:32 +01:00
update existing dpm meter-falloff config to new fastest.
This commit is contained in:
parent
84485a4cf2
commit
3a5ac7f37f
2 changed files with 1 additions and 6 deletions
|
|
@ -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_MODERATE 13.3f // EBU-PPM, IRT PPM- 20dB / 1.5 sec
|
||||||
#define METER_FALLOFF_MEDIUM 20.0f
|
#define METER_FALLOFF_MEDIUM 20.0f
|
||||||
#define METER_FALLOFF_FAST 32.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 float meter_falloff_to_float (ARDOUR::MeterFalloff);
|
||||||
LIBARDOUR_API ARDOUR::MeterFalloff meter_falloff_from_float (float);
|
LIBARDOUR_API ARDOUR::MeterFalloff meter_falloff_from_float (float);
|
||||||
|
|
|
||||||
|
|
@ -525,11 +525,8 @@ ARDOUR::meter_falloff_to_float (MeterFalloff falloff)
|
||||||
case MeterFalloffModerate:
|
case MeterFalloffModerate:
|
||||||
return METER_FALLOFF_MODERATE;
|
return METER_FALLOFF_MODERATE;
|
||||||
case MeterFalloffFast:
|
case MeterFalloffFast:
|
||||||
return METER_FALLOFF_FAST;
|
case MeterFalloffFaster: // backwards compat enum MeterFalloff
|
||||||
case MeterFalloffFaster:
|
|
||||||
return METER_FALLOFF_FASTER;
|
|
||||||
case MeterFalloffFastest:
|
case MeterFalloffFastest:
|
||||||
return METER_FALLOFF_FASTEST;
|
|
||||||
default:
|
default:
|
||||||
return METER_FALLOFF_FAST;
|
return METER_FALLOFF_FAST;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue