Browse Source

discovery: don't expose 16out for samplers if it has only 1 patch

tags/1.9.4
falkTX 11 years ago
parent
commit
1927bc0c8a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/discovery/carla-discovery.cpp

+ 2
- 2
source/discovery/carla-discovery.cpp View File

@@ -398,7 +398,7 @@ public:
DISCOVERY_OUT("build", BINARY_NATIVE);
DISCOVERY_OUT("end", "------------");

if (name.isEmpty())
if (name.isEmpty() || programs <= 1)
return;
name += " (16 outputs)";

@@ -1718,7 +1718,7 @@ void do_fluidsynth_check(const char* const filename, const bool init)
DISCOVERY_OUT("end", "------------");

// 16 channels
if (name.isEmpty())
if (name.isEmpty() || programs <= 1)
return;
name += " (16 outputs)";



Loading…
Cancel
Save