aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp')
-rwxr-xr-xplugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp
index a9c5963..7651fda 100755
--- a/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp
+++ b/plugins/MacAU/DitherMeTimbers/DitherMeTimbers.cpp
@@ -177,10 +177,10 @@ void DitherMeTimbers::DitherMeTimbersKernel::Process( const Float32 *inSourceP
if ((lastSample+lastSample) >= (inputSample+lastSample2)) outputSample = floor(lastSample);
else outputSample = floor(lastSample+1.0); //round down or up based on whether it softens treble angles
-
+
lastSample2 = lastSample;
lastSample = inputSample; //we retain three samples in a row
-
+
noiseShaping += outputSample;
noiseShaping -= lastSample;
@@ -199,6 +199,3 @@ void DitherMeTimbers::DitherMeTimbersKernel::Process( const Float32 *inSourceP
destP += inNumChannels;
}
}
-
-
-