|
@@ -16,9 +16,10 @@ |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
// config fix |
|
|
// config fix |
|
|
|
|
|
#include "CarlaDefines.h" |
|
|
#include "distrho-mverb/DistrhoPluginInfo.h" |
|
|
#include "distrho-mverb/DistrhoPluginInfo.h" |
|
|
|
|
|
|
|
|
#if DISTRHO_PLUGIN_HAS_UI && ! defined(HAVE_DGL) |
|
|
|
|
|
|
|
|
#if DISTRHO_PLUGIN_HAS_UI && (defined(CARLA_OS_WIN) || ! defined(HAVE_DGL)) |
|
|
# undef DISTRHO_PLUGIN_HAS_UI |
|
|
# undef DISTRHO_PLUGIN_HAS_UI |
|
|
# define DISTRHO_PLUGIN_HAS_UI 0 |
|
|
# define DISTRHO_PLUGIN_HAS_UI 0 |
|
|
#endif |
|
|
#endif |
|
@@ -26,7 +27,7 @@ |
|
|
// Plugin Code |
|
|
// Plugin Code |
|
|
#include "distrho-mverb/DistrhoArtworkMVerb.cpp" |
|
|
#include "distrho-mverb/DistrhoArtworkMVerb.cpp" |
|
|
#include "distrho-mverb/DistrhoPluginMVerb.cpp" |
|
|
#include "distrho-mverb/DistrhoPluginMVerb.cpp" |
|
|
#ifdef HAVE_DGL |
|
|
|
|
|
|
|
|
#if DISTRHO_PLUGIN_HAS_UI |
|
|
#include "distrho-mverb/DistrhoUIMVerb.cpp" |
|
|
#include "distrho-mverb/DistrhoUIMVerb.cpp" |
|
|
#include "distrho-mverb/font/Kh-Kangrey.cpp" |
|
|
#include "distrho-mverb/font/Kh-Kangrey.cpp" |
|
|
#endif |
|
|
#endif |
|
@@ -34,7 +35,7 @@ |
|
|
// DISTRHO Code |
|
|
// DISTRHO Code |
|
|
#define DISTRHO_PLUGIN_TARGET_CARLA |
|
|
#define DISTRHO_PLUGIN_TARGET_CARLA |
|
|
#include "DistrhoPluginMain.cpp" |
|
|
#include "DistrhoPluginMain.cpp" |
|
|
#ifdef HAVE_DGL |
|
|
|
|
|
|
|
|
#if DISTRHO_PLUGIN_HAS_UI |
|
|
#include "DistrhoUIMain.cpp" |
|
|
#include "DistrhoUIMain.cpp" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@@ -44,7 +45,7 @@ START_NAMESPACE_DISTRHO |
|
|
|
|
|
|
|
|
static const NativePluginDescriptor _mverbDesc = { |
|
|
static const NativePluginDescriptor _mverbDesc = { |
|
|
/* category */ NATIVE_PLUGIN_CATEGORY_DELAY, |
|
|
/* category */ NATIVE_PLUGIN_CATEGORY_DELAY, |
|
|
#ifdef HAVE_DGL |
|
|
|
|
|
|
|
|
#if DISTRHO_PLUGIN_HAS_UI |
|
|
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE |
|
|
/* hints */ static_cast<NativePluginHints>(NATIVE_PLUGIN_IS_RTSAFE |
|
|
|NATIVE_PLUGIN_HAS_UI |
|
|
|NATIVE_PLUGIN_HAS_UI |
|
|
|NATIVE_PLUGIN_NEEDS_UI_MAIN_THREAD |
|
|
|NATIVE_PLUGIN_NEEDS_UI_MAIN_THREAD |
|
|