In juce_AudioProcessorGraph.cpp, line 1199, we have
if ((inputChan < numOuts || needsDelay) && isBufferNeededLater (reversed, ourRenderingIndex, inputChan, src))
as a check whether the signal that goes into a node at inputChan needs its own buffer or not. I wonder whether the (inputChan < numOuts) check is of any use here. Specifically, let’s say I have a node with 2 inputs and 1 output. It is theoretically possible that someone decides to send the same signal to the 2 input channels (not saying that this makes any sense, but it is definitely possible). In that case there would be no separate buffer created for input #2, so whatever the node does internally, it would do it with just one mono buffer where it would expect two. So, in that case the (inputChan < numOuts) creates an issue. I was just wondering why we need that check at all, I can’t see a situation at the moment where it would be useful?
