Browse Source

Dont expose UIs in CarlaVstShell just yet

tags/v1.9.11
falkTX 6 years ago
parent
commit
3b2ca8f19c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      source/plugin/carla-vst.cpp

+ 2
- 0
source/plugin/carla-vst.cpp View File

@@ -793,10 +793,12 @@ static intptr_t vst_dispatcherCallback(AEffect* effect, int32_t opcode, int32_t
effect->numInputs = pluginDesc->audioIns; effect->numInputs = pluginDesc->audioIns;
effect->numOutputs = pluginDesc->audioOuts; effect->numOutputs = pluginDesc->audioOuts;


/*
if (pluginDesc->hints & NATIVE_PLUGIN_HAS_UI) if (pluginDesc->hints & NATIVE_PLUGIN_HAS_UI)
effect->flags |= effFlagsHasEditor; effect->flags |= effFlagsHasEditor;
else else
effect->flags &= ~effFlagsHasEditor; effect->flags &= ~effFlagsHasEditor;
*/


if (pluginDesc->hints & NATIVE_PLUGIN_IS_SYNTH) if (pluginDesc->hints & NATIVE_PLUGIN_IS_SYNTH)
effect->flags |= effFlagsIsSynth; effect->flags |= effFlagsIsSynth;


Loading…
Cancel
Save