Browse Source

Allow non-embeddable LV2 UIs

pull/6/head
falkTX 8 years ago
parent
commit
d87042df0d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      distrho/src/DistrhoPluginLV2export.cpp

+ 3
- 1
distrho/src/DistrhoPluginLV2export.cpp View File

@@ -49,7 +49,7 @@
# define DISTRHO_PLUGIN_USES_MODGUI 0
#endif

#if DISTRHO_PLUGIN_HAS_UI
#if DISTRHO_PLUGIN_HAS_EMBED_UI
# if DISTRHO_OS_HAIKU
# define DISTRHO_LV2_UI_TYPE "BeUI"
# elif DISTRHO_OS_MAC
@@ -59,6 +59,8 @@
# else
# define DISTRHO_LV2_UI_TYPE "X11UI"
# endif
#else
# define DISTRHO_LV2_UI_TYPE "UI"
#endif

#define DISTRHO_LV2_USE_EVENTS_IN (DISTRHO_PLUGIN_WANT_MIDI_INPUT || DISTRHO_PLUGIN_WANT_TIMEPOS || (DISTRHO_PLUGIN_WANT_STATE && DISTRHO_PLUGIN_HAS_UI))


Loading…
Cancel
Save