Removed the downsampler reference

This commit is contained in:
Paul Fd 2020-03-05 23:07:00 +01:00
parent dc9acbb3de
commit dcc8a58377

View file

@ -120,7 +120,6 @@ namespace fx {
}
float lastValue = fLastValue;
hiir::Downsampler2xFpu<12>& downsampler2x = fDownsampler2x;
const float steps = (1.0f + (100.0f - fDepth)) * 0.75f;
const float invSteps = 1.0f / steps;
@ -136,7 +135,7 @@ namespace fx {
lastValue = y;
y = downsampler2x.process_sample(y2x);
y = fDownsampler2x.process_sample(y2x);
out[i] = y;
}
@ -182,7 +181,6 @@ namespace fx {
float phase = fPhase;
float lastValue = fLastValue;
hiir::Downsampler2xFpu<12>& downsampler2x = fDownsampler2x;
for (uint32_t i = 0; i < nframes; ++i) {
float x = in[i];
@ -197,7 +195,7 @@ namespace fx {
lastValue = y;
y = downsampler2x.process_sample(y2x);
y = fDownsampler2x.process_sample(y2x);
out[i] = y;
}