mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
DSP: Fixed some errors in the previous commit
This commit is contained in:
parent
1396d7cfc5
commit
044c36f5bb
1 changed files with 3 additions and 3 deletions
|
|
@ -291,16 +291,16 @@ public:
|
|||
latency += static_cast<SampleType> (-(coeffsDown.getPhaseForFrequency (0.0001, 1.0)) / (0.0001 * MathConstants<double>::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<int> (this->numChannels), coefficientsUp.size());
|
||||
v1Down.setSize (static_cast<int> (this->numChannels), coefficientsDown.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue