Browse Source

Never try to load sf2 and sfz files as bridge

tags/v1.9.11
falkTX 6 years ago
parent
commit
1f89411dd0
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      source/backend/engine/CarlaEngine.cpp

+ 6
- 1
source/backend/engine/CarlaEngine.cpp View File

@@ -479,7 +479,12 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype,
} }
#endif // ! BUILD_BRIDGE #endif // ! BUILD_BRIDGE


if (ptype != PLUGIN_INTERNAL && (btype != BINARY_NATIVE || (preferBridges && bridgeBinary.isNotEmpty())))
const bool canBeBridged = ptype != PLUGIN_INTERNAL
&& ptype != PLUGIN_SF2
&& ptype != PLUGIN_SFZ
&& ptype != PLUGIN_JACK;

if (canBeBridged && (btype != BINARY_NATIVE || (preferBridges && bridgeBinary.isNotEmpty())))
{ {
if (bridgeBinary.isNotEmpty()) if (bridgeBinary.isNotEmpty())
{ {


Loading…
Cancel
Save