Browse Source

Graph: Fix wrong buffer being cleared for unconnected cv ins

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

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

@@ -605,7 +605,7 @@ private:
{ {
// unconnected input channel // unconnected input channel
bufIndex = getFreeBuffer (AudioProcessor::ChannelTypeCV); bufIndex = getFreeBuffer (AudioProcessor::ChannelTypeCV);
renderingOps.add (new ClearChannelOp (bufIndex, false));
renderingOps.add (new ClearChannelOp (bufIndex, true));
} }
else if (sourceNodes.size() == 1) else if (sourceNodes.size() == 1)
{ {


Loading…
Cancel
Save