Skip to content

Commit 08c18bf

Browse files
committed
Allow numin and numout to be 0
1 parent ba5a38f commit 08c18bf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Source/PluginProcessor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,15 +260,13 @@ bool PlugDataAudioProcessor::isBusesLayoutSupported(const BusesLayout& layouts)
260260
{
261261
int nchb = layouts.getNumChannels(false, bus);
262262
if (nchb > 2) return false;
263-
if (nchb == 0) return false;
264263
noutch += nchb;
265264
}
266265

267266
for (int bus = 0; bus < layouts.inputBuses.size(); bus++)
268267
{
269268
int nchb = layouts.getNumChannels(true, bus);
270269
if (nchb > 2) return false;
271-
if (nchb == 0) return false;
272270
ninch += nchb;
273271
}
274272

0 commit comments

Comments
 (0)