Browse Source

Add new PLUGIN_NEEDS_UI_JUCE flag, used in VexArp and VexSynth

tags/1.9.4
falkTX 11 years ago
parent
commit
cd5896e555
3 changed files with 7 additions and 11 deletions
  1. +5
    -4
      source/modules/CarlaNative.h
  2. +1
    -1
      source/modules/carla_native/vex-fx.cpp
  3. +1
    -6
      source/modules/carla_native/vex-synth.cpp

+ 5
- 4
source/modules/CarlaNative.h View File

@@ -57,10 +57,11 @@ typedef enum {
PLUGIN_HAS_GUI = 1 << 2,
PLUGIN_NEEDS_FIXED_BUFFERS = 1 << 3,
PLUGIN_NEEDS_SINGLE_THREAD = 1 << 4,
PLUGIN_NEEDS_UI_OPEN_SAVE = 1 << 5,
PLUGIN_USES_PANNING = 1 << 6, // uses stereo balance if unset (default)
PLUGIN_USES_STATE = 1 << 7,
PLUGIN_USES_TIME = 1 << 8
PLUGIN_NEEDS_UI_JUCE = 1 << 5,
PLUGIN_NEEDS_UI_OPEN_SAVE = 1 << 6,
PLUGIN_USES_PANNING = 1 << 7, // uses stereo balance if unset (default)
PLUGIN_USES_STATE = 1 << 8,
PLUGIN_USES_TIME = 1 << 9
} PluginHints;

typedef enum {


+ 1
- 1
source/modules/carla_native/vex-fx.cpp View File

@@ -863,7 +863,7 @@ private:

static const PluginDescriptor vexArpDesc = {
/* category */ PLUGIN_CATEGORY_UTILITY,
/* hints */ static_cast<PluginHints>(PLUGIN_HAS_GUI|PLUGIN_NEEDS_SINGLE_THREAD|PLUGIN_USES_TIME),
/* hints */ static_cast<PluginHints>(PLUGIN_HAS_GUI|PLUGIN_NEEDS_UI_JUCE|PLUGIN_USES_TIME),
/* supports */ static_cast<PluginSupports>(PLUGIN_SUPPORTS_EVERYTHING),
/* audioIns */ 0,
/* audioOuts */ 0,


+ 1
- 6
source/modules/carla_native/vex-synth.cpp View File

@@ -1115,11 +1115,6 @@ protected:
}
}

void uiSetParameterValue(const uint32_t, const float) override
{
// unused
}

// -------------------------------------------------------------------
// Plugin state calls

@@ -1290,7 +1285,7 @@ private:

static const PluginDescriptor vexSynthDesc = {
/* category */ PLUGIN_CATEGORY_SYNTH,
/* hints */ static_cast<PluginHints>(PLUGIN_HAS_GUI|PLUGIN_NEEDS_SINGLE_THREAD|PLUGIN_USES_STATE|PLUGIN_USES_TIME),
/* hints */ static_cast<PluginHints>(PLUGIN_HAS_GUI|PLUGIN_NEEDS_UI_JUCE|PLUGIN_USES_STATE|PLUGIN_USES_TIME),
/* supports */ static_cast<PluginSupports>(0x0),
/* audioIns */ 0,
/* audioOuts */ 2,


Loading…
Cancel
Save