Browse Source

Always load some plugins in bridge mode (damn fancy guis...)

tags/1.9.8
falkTX 8 years ago
parent
commit
cce41c01ce
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      source/backend/engine/CarlaEngine.cpp

+ 5
- 5
source/backend/engine/CarlaEngine.cpp View File

@@ -426,12 +426,12 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype,
{ {
if (ptype == PLUGIN_LV2 && label != nullptr) if (ptype == PLUGIN_LV2 && label != nullptr)
{ {
if (std::strcmp(label, "http://calf.sourceforge.net/plugins/Analyzer") == 0)
preferBridges = true;
if (std::strcmp(label, "http://calf.sourceforge.net/plugins/Fluidsynth") == 0)
preferBridges = true;
if (std::strcmp(label, "http://factorial.hu/plugins/lv2/ir") == 0)
if (std::strncmp(label, "http://calf.sourceforge.net/plugins/", 36) == 0 ||
std::strcmp(label, "http://factorial.hu/plugins/lv2/ir") == 0 ||
std::strstr(label, "v1.sourceforge.net/lv2") != nullptr)
{
preferBridges = true; preferBridges = true;
}
} }
#if 0 #if 0
else if (ptype == PLUGIN_VST2) else if (ptype == PLUGIN_VST2)


Loading…
Cancel
Save