You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// In case we have more outputs than inputs, this code clears any output channels that didn't contain input data, (because these aren't guaranteed to be empty - they may contain garbage).
157
157
// I've added this to avoid people getting screaming feedback when they first compile the plugin, but obviously you don't need to this code if your algorithm already fills all the output channels.
158
-
for (int i = getNumInputChannels(); i < getNumOutputChannels(); ++i)
158
+
for (int i = getTotalNumInputChannels(); i < getTotalNumOutputChannels(); ++i)
159
159
buffer.clear (i, 0, buffer.getNumSamples());
160
160
161
-
int numChannels = jmin (getNumInputChannels(), getNumOutputChannels());
161
+
int numChannels = jmin (getTotalNumInputChannels(), getTotalNumOutputChannels());
0 commit comments