changeset 12:e54f4293614b

Restore local part to that last one, again without much success
author Chris Cannam
date Tue, 22 Jul 2014 13:36:52 +0100
parents e662e661ae65
children 98fd2543a5f2
files flattendynamics-ladspa.cpp
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/flattendynamics-ladspa.cpp	Tue Jul 22 13:32:55 2014 +0100
+++ b/flattendynamics-ladspa.cpp	Tue Jul 22 13:36:52 2014 +0100
@@ -211,8 +211,6 @@
 
     float fixedGain = targetMaxRMS / m_maxRmsLongTerm;
 
-    float targetGain = fixedGain;
-/*
     float frac = m_rmsShortTerm / m_maxRmsShortTerm;
 
     // push up toward top of 0,1 range
@@ -222,8 +220,6 @@
 
     float targetGain = fixedGain * (targetRMS / m_rmsShortTerm);
 
-*/
-
     if (targetGain > maxGain) {
         targetGain = maxGain;
     }