just a detail, but as the macro in IIRFilter is only applied to floats, you could add some 'f' to it no?
#define JUCE_SNAP_TO_ZERO(n) if (! (n < -1.0e-8f || n > 1.0e-8f)) n = 0;
just a detail, but as the macro in IIRFilter is only applied to floats, you could add some 'f' to it no?
#define JUCE_SNAP_TO_ZERO(n) if (! (n < -1.0e-8f || n > 1.0e-8f)) n = 0;
Yes, I guess it could, thanks!