DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit d2d3a4377634ab8e1db9f0a2cacc0a90966e1cd3
parent e69074ebfcb56aaf4e24fd672ab7a6b6581cec58
Author: falkTX <falktx@falktx.com>
Date:   Tue,  1 Oct 2019 17:49:31 +0100

Only enable Info modgui if building for MOD

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mexamples/Info/DistrhoPluginInfo.h | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/examples/Info/DistrhoPluginInfo.h b/examples/Info/DistrhoPluginInfo.h @@ -26,10 +26,13 @@ #define DISTRHO_PLUGIN_NUM_INPUTS 2 #define DISTRHO_PLUGIN_NUM_OUTPUTS 2 #define DISTRHO_PLUGIN_WANT_TIMEPOS 1 -#define DISTRHO_PLUGIN_USES_MODGUI 1 #define DISTRHO_UI_USER_RESIZABLE 1 #define DISTRHO_UI_USE_NANOVG 1 +#ifdef __MOD_DEVICES__ +#define DISTRHO_PLUGIN_USES_MODGUI 1 +#endif + enum Parameters { kParameterBufferSize = 0, kParameterTimePlaying,