Browse Source

VST2: Always set label for effGetParameterProperties use

Signed-off-by: falkTX <falktx@falktx.com>
pull/287/head
falkTX 4 years ago
parent
commit
345c971aea
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      distrho/src/DistrhoPluginVST.cpp

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

@@ -1446,6 +1446,8 @@ static intptr_t vst_dispatcherCallback(AEffect* effect, int32_t opcode, int32_t
{
memset(properties, 0, sizeof(VstParameterProperties));

DISTRHO_NAMESPACE::strncpy(properties->label, plugin.getParameterName(index), VestigeMaxLabelLen);

const uint32_t hints = plugin.getParameterHints(index);

if (hints & kParameterIsOutput)


Loading…
Cancel
Save