Browse Source

Fix VST Build With DISTRHO_PLUGIN_HAS_EXTERNAL_UI

pull/24/head
fundamental falkTX <falktx@gmail.com> 7 years ago
parent
commit
bae1ad52ac
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      distrho/src/DistrhoPluginVST.cpp

+ 2
- 0
distrho/src/DistrhoPluginVST.cpp View File

@@ -171,6 +171,7 @@ public:


int handlePluginKeyEvent(const bool down, int32_t index, const intptr_t value) int handlePluginKeyEvent(const bool down, int32_t index, const intptr_t value)
{ {
# if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI
d_stdout("handlePluginKeyEvent %i %i %li\n", down, index, (long int)value); d_stdout("handlePluginKeyEvent %i %i %li\n", down, index, (long int)value);


int special = 0; int special = 0;
@@ -215,6 +216,7 @@ public:


if (index >= 0) if (index >= 0)
return fUI.handlePluginKeyboard(down, static_cast<uint>(index)); return fUI.handlePluginKeyboard(down, static_cast<uint>(index));
# endif


return 0; return 0;
} }


Loading…
Cancel
Save