Browse Source

One more fix

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.1-rc1
falkTX 6 years ago
parent
commit
e9ca3ac860
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      source/modules/water/processors/AudioProcessorGraph.cpp

+ 4
- 4
source/modules/water/processors/AudioProcessorGraph.cpp View File

@@ -916,9 +916,9 @@ private:
} }
bool isBufferNeededLater (int stepIndexToSearchFrom, bool isBufferNeededLater (int stepIndexToSearchFrom,
int inputChannelOfIndexToIgnore,
uint inputChannelOfIndexToIgnore,
const uint32 nodeId, const uint32 nodeId,
const int outputChanIndex) const
const uint outputChanIndex) const
{ {
while (stepIndexToSearchFrom < orderedNodes.size()) while (stepIndexToSearchFrom < orderedNodes.size())
{ {
@@ -935,14 +935,14 @@ private:
else else
{ {
for (uint i = 0; i < node->getProcessor()->getTotalNumInputChannels(AudioProcessor::ChannelTypeAudio); ++i) for (uint i = 0; i < node->getProcessor()->getTotalNumInputChannels(AudioProcessor::ChannelTypeAudio); ++i)
if (static_cast<int>(i) != inputChannelOfIndexToIgnore
if (i != inputChannelOfIndexToIgnore
&& graph.getConnectionBetween (AudioProcessor::ChannelTypeAudio, && graph.getConnectionBetween (AudioProcessor::ChannelTypeAudio,
nodeId, outputChanIndex, nodeId, outputChanIndex,
node->nodeId, i) != nullptr) node->nodeId, i) != nullptr)
return true; return true;
} }
inputChannelOfIndexToIgnore = -1;
inputChannelOfIndexToIgnore = (uint)-1;
++stepIndexToSearchFrom; ++stepIndexToSearchFrom;
} }


Loading…
Cancel
Save