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:
parent
070a459db0
commit
55ebd17dfc
1 changed files with 0 additions and 2 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue