We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f5cb7d commit bab3660Copy full SHA for bab3660
1 file changed
Source/Processors/AudioNode/AudioNode.cpp
@@ -31,10 +31,11 @@ AudioNode::AudioNode()
31
32
settings.numInputs = 4096;
33
settings.numOutputs = 2;
34
- nextAvailableChannel = 2;
35
36
updatePlaybackBuffer();
37
+ nextAvailableChannel = 2; // keep first two channels empty
38
+
39
tempBuffer = new AudioSampleBuffer(16, 1024);
40
41
}
@@ -56,7 +57,8 @@ AudioProcessorEditor* AudioNode::createEditor()
56
57
void AudioNode::resetConnections()
58
{
59
settings.numInputs = 2; // "dummy" inputs that are actually just outputs
60
+ nextAvailableChannel = 2; // start connections at channel 2
61
+ wasConnected = false;
62
63
dataChannelArray.clear();
64
0 commit comments