Skip to content

Commit bab3660

Browse files
committed
Fix up some extraneous changes
1 parent 1f5cb7d commit bab3660

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Source/Processors/AudioNode/AudioNode.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,11 @@ AudioNode::AudioNode()
3131

3232
settings.numInputs = 4096;
3333
settings.numOutputs = 2;
34-
nextAvailableChannel = 2;
3534

3635
updatePlaybackBuffer();
3736

37+
nextAvailableChannel = 2; // keep first two channels empty
38+
3839
tempBuffer = new AudioSampleBuffer(16, 1024);
3940

4041
}
@@ -56,7 +57,8 @@ AudioProcessorEditor* AudioNode::createEditor()
5657
void AudioNode::resetConnections()
5758
{
5859
settings.numInputs = 2; // "dummy" inputs that are actually just outputs
59-
nextAvailableChannel = 2;
60+
nextAvailableChannel = 2; // start connections at channel 2
61+
wasConnected = false;
6062

6163
dataChannelArray.clear();
6264

0 commit comments

Comments
 (0)