Oversampling typefilterHalfBandPolyphaseIIR returns 2 channels when 1 is specified


I was checking out the Oversampling class on a single channel. The type filterHalfBandFIREquiripple works great.
However, when I use the filterHalfBandPolyphaseIIR type, the engine buffer has a size of 2.
In line 285 in juce_Oversampling.cpp: OversamplingEngine (2, numChannels)
the arguments are mixed up. First one should be channels, second one the factor 2.


Good one, thanks for spotting this !

A fix will appear on the develop branch shortly.

1 Like