1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a bug in the Oversampling class

This commit is contained in:
Tom Poole 2018-11-09 10:24:15 +00:00
parent 070a459db0
commit 55ebd17dfc

View file

@ -544,8 +544,6 @@ Oversampling<SampleType>::Oversampling (size_t newNumChannels, size_t newFactor,
{ {
jassert (isPositiveAndBelow (newFactor, 5) && numChannels > 0); jassert (isPositiveAndBelow (newFactor, 5) && numChannels > 0);
factorOversampling = static_cast<size_t> (1) << newFactor;
if (newFactor == 0) if (newFactor == 0)
{ {
addDummyOversamplingStage(); addDummyOversamplingStage();