diff --git a/modules/juce_dsp/processors/juce_Oversampling.cpp b/modules/juce_dsp/processors/juce_Oversampling.cpp index 8a71c1ecd6..87af068b96 100644 --- a/modules/juce_dsp/processors/juce_Oversampling.cpp +++ b/modules/juce_dsp/processors/juce_Oversampling.cpp @@ -291,16 +291,16 @@ public: latency += static_cast (-(coeffsDown.getPhaseForFrequency (0.0001, 1.0)) / (0.0001 * MathConstants::twoPi)); for (auto i = 0; i < structureUp.directPath.size(); ++i) - coefficientsUp.add (structureUp.delayedPath.getObjectPointer (i)->coefficients[0]); + coefficientsUp.add (structureUp.directPath.getObjectPointer (i)->coefficients[0]); for (auto i = 1; i < structureUp.delayedPath.size(); ++i) coefficientsUp.add (structureUp.delayedPath.getObjectPointer (i)->coefficients[0]); for (auto i = 0; i < structureDown.directPath.size(); ++i) - coefficientsDown.add (structureUp.delayedPath.getObjectPointer (i)->coefficients[0]); + coefficientsDown.add (structureDown.directPath.getObjectPointer (i)->coefficients[0]); for (auto i = 1; i < structureDown.delayedPath.size(); ++i) - coefficientsDown.add (structureUp.delayedPath.getObjectPointer (i)->coefficients[0]); + coefficientsDown.add (structureDown.delayedPath.getObjectPointer (i)->coefficients[0]); v1Up.setSize (static_cast (this->numChannels), coefficientsUp.size()); v1Down.setSize (static_cast (this->numChannels), coefficientsDown.size());