From 1927bc0c8a9128ec7d85dd614d3abf618468917d Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 9 Jan 2014 13:26:35 +0000 Subject: [PATCH] discovery: don't expose 16out for samplers if it has only 1 patch --- source/discovery/carla-discovery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/discovery/carla-discovery.cpp b/source/discovery/carla-discovery.cpp index c4af8902e..91f3e0072 100644 --- a/source/discovery/carla-discovery.cpp +++ b/source/discovery/carla-discovery.cpp @@ -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)";