Corrected a bug in the one pole filter with variable gain

This commit is contained in:
paulfd 2019-09-21 01:22:52 +02:00
parent 94851d3adf
commit 20c0aeb8dd

View file

@ -105,7 +105,7 @@ public:
auto sentinel = in + size; auto sentinel = in + size;
while (in < sentinel) { while (in < sentinel) {
setGain(*g); setGain(*g);
oneLowpass(in, out); oneHighpass(in, out);
in++; in++;
out++; out++;
g++; g++;