Corrected a bug in the one pole filter

This commit is contained in:
paulfd 2019-09-21 01:06:01 +02:00
parent ed2536b5ce
commit 144916bd39

View file

@ -89,6 +89,9 @@ public:
while (in < sentinel) { while (in < sentinel) {
setGain(*g); setGain(*g);
oneLowpass(in, out); oneLowpass(in, out);
in++;
out++;
g++;
} }
return size; return size;
} }
@ -103,6 +106,9 @@ public:
while (in < sentinel) { while (in < sentinel) {
setGain(*g); setGain(*g);
oneLowpass(in, out); oneLowpass(in, out);
in++;
out++;
g++;
} }
return size; return size;
} }