Removed the downsampler reference
This commit is contained in:
parent
dc9acbb3de
commit
dcc8a58377
1 changed files with 2 additions and 4 deletions
|
|
@ -120,7 +120,6 @@ namespace fx {
|
||||||
}
|
}
|
||||||
|
|
||||||
float lastValue = fLastValue;
|
float lastValue = fLastValue;
|
||||||
hiir::Downsampler2xFpu<12>& downsampler2x = fDownsampler2x;
|
|
||||||
|
|
||||||
const float steps = (1.0f + (100.0f - fDepth)) * 0.75f;
|
const float steps = (1.0f + (100.0f - fDepth)) * 0.75f;
|
||||||
const float invSteps = 1.0f / steps;
|
const float invSteps = 1.0f / steps;
|
||||||
|
|
@ -136,7 +135,7 @@ namespace fx {
|
||||||
|
|
||||||
lastValue = y;
|
lastValue = y;
|
||||||
|
|
||||||
y = downsampler2x.process_sample(y2x);
|
y = fDownsampler2x.process_sample(y2x);
|
||||||
out[i] = y;
|
out[i] = y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -182,7 +181,6 @@ namespace fx {
|
||||||
|
|
||||||
float phase = fPhase;
|
float phase = fPhase;
|
||||||
float lastValue = fLastValue;
|
float lastValue = fLastValue;
|
||||||
hiir::Downsampler2xFpu<12>& downsampler2x = fDownsampler2x;
|
|
||||||
|
|
||||||
for (uint32_t i = 0; i < nframes; ++i) {
|
for (uint32_t i = 0; i < nframes; ++i) {
|
||||||
float x = in[i];
|
float x = in[i];
|
||||||
|
|
@ -197,7 +195,7 @@ namespace fx {
|
||||||
|
|
||||||
lastValue = y;
|
lastValue = y;
|
||||||
|
|
||||||
y = downsampler2x.process_sample(y2x);
|
y = fDownsampler2x.process_sample(y2x);
|
||||||
out[i] = y;
|
out[i] = y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue