Browse Source

Set macOS system paths to Carla

tags/v1.0
falkTX 3 years ago
parent
commit
d718ae139e
2 changed files with 6 additions and 1 deletions
  1. +1
    -1
      dpf-widgets
  2. +5
    -0
      plugins/Common/IldaeilPlugin.cpp

+ 1
- 1
dpf-widgets

@@ -1 +1 @@
Subproject commit 7f5969da6597e1cd8f5e469df74d6b97b39114d7
Subproject commit 27b70b1c782192c3493ab0c3ac9b354e62a0bcde

+ 5
- 0
plugins/Common/IldaeilPlugin.cpp View File

@@ -112,8 +112,13 @@ public:
fCarlaHostHandle = carla_create_native_plugin_host_handle(fCarlaPluginDescriptor, fCarlaPluginHandle);
DISTRHO_SAFE_ASSERT_RETURN(fCarlaHostHandle != nullptr,);
#ifdef CARLA_OS_MAC
carla_set_engine_option(fCarlaHostHandle, ENGINE_OPTION_PATH_BINARIES, 0, "/Applications/Carla.app/Contents/MacOS");
carla_set_engine_option(fCarlaHostHandle, ENGINE_OPTION_PATH_RESOURCES, 0, "/Applications/Carla.app/Contents/MacOS/resources");
#else
carla_set_engine_option(fCarlaHostHandle, ENGINE_OPTION_PATH_BINARIES, 0, "/usr/lib/carla");
carla_set_engine_option(fCarlaHostHandle, ENGINE_OPTION_PATH_RESOURCES, 0, "/usr/share/carla/resources");
#endif
fCarlaPluginDescriptor->dispatcher(fCarlaPluginHandle, NATIVE_PLUGIN_OPCODE_HOST_USES_EMBED,
0, 0, nullptr, 0.0f);


Loading…
Cancel
Save