diff --git a/source/backend/engine/CarlaEngine.cpp b/source/backend/engine/CarlaEngine.cpp index e4d2238d3..dd5cf8024 100644 --- a/source/backend/engine/CarlaEngine.cpp +++ b/source/backend/engine/CarlaEngine.cpp @@ -429,6 +429,7 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype, if (std::strcmp(label, "http://factorial.hu/plugins/lv2/ir") == 0) preferBridges = true; } +#if 0 else if (ptype == PLUGIN_VST2) { /* @@ -498,6 +499,7 @@ bool CarlaEngine::addPlugin(const BinaryType btype, const PluginType ptype, else if (uniqueId == 1397573722 && std::strstr(filename, "/ZebraHZ.") != nullptr) preferBridges = true; } +#endif // FIXME: linuxsampler inside carla-rack/patchbay plugin has some issues (only last kit makes noise) else if (getType() == kEngineTypePlugin && (ptype == PLUGIN_GIG || ptype == PLUGIN_SFZ)) { diff --git a/source/carla_backend.py b/source/carla_backend.py index 3107baf6a..9fd6b72d1 100644 --- a/source/carla_backend.py +++ b/source/carla_backend.py @@ -2098,7 +2098,7 @@ class CarlaHostDLL(CarlaHostMeta): # info about this host object self.isPlugin = False - self.lib = cdll.LoadLibrary(libName) + self.lib = CDLL(libName, RTLD_GLOBAL) self.lib.carla_get_engine_driver_count.argtypes = None self.lib.carla_get_engine_driver_count.restype = c_uint diff --git a/source/carla_utils.py b/source/carla_utils.py index eed774660..53f40b776 100644 --- a/source/carla_utils.py +++ b/source/carla_utils.py @@ -163,6 +163,7 @@ class CarlaUtils(object): object.__init__(self) self.lib = cdll.LoadLibrary(filename) + #self.lib = CDLL(filename, RTLD_GLOBAL) self.lib.carla_get_complete_license_text.argtypes = None self.lib.carla_get_complete_license_text.restype = c_char_p