mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-08 04:20:09 +00:00
Fix for AudioProcessorGraph logic.
This commit is contained in:
parent
3a7989ad7c
commit
431978b4ff
1 changed files with 5 additions and 7 deletions
|
|
@ -462,8 +462,8 @@ private:
|
|||
{
|
||||
if (j != reusableInputIndex)
|
||||
{
|
||||
const int srcIndex = getBufferContaining (sourceNodes.getUnchecked(j),
|
||||
sourceOutputChans.getUnchecked(j));
|
||||
int srcIndex = getBufferContaining (sourceNodes.getUnchecked(j),
|
||||
sourceOutputChans.getUnchecked(j));
|
||||
if (srcIndex >= 0)
|
||||
{
|
||||
const int nodeDelay = getNodeDelay (sourceNodes.getUnchecked (j));
|
||||
|
|
@ -481,13 +481,11 @@ private:
|
|||
const int bufferToDelay = getFreeBuffer (false);
|
||||
renderingOps.add (new CopyChannelOp (srcIndex, bufferToDelay));
|
||||
renderingOps.add (new DelayChannelOp (bufferToDelay, maxLatency - nodeDelay));
|
||||
renderingOps.add (new AddChannelOp (bufferToDelay, bufIndex));
|
||||
srcIndex = bufferToDelay;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
renderingOps.add (new AddChannelOp (srcIndex, bufIndex));
|
||||
}
|
||||
|
||||
renderingOps.add (new AddChannelOp (srcIndex, bufIndex));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue