Browse Source

Relaxed the maximum length restriction on VST parameter names from 16 to 32 chars, as we assume all the hosts will be OK with that.

tags/2021-05-28
jules 8 years ago
parent
commit
8140564808
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp

+ 1
- 1
modules/juce_audio_plugin_client/VST/juce_VST_Wrapper.cpp View File

@@ -1604,7 +1604,7 @@ private:
{
jassert (isPositiveAndBelow (args.index, filter->getNumParameters()));
// length should technically be kVstMaxParamStrLen, which is 8, but hosts will normally allow a bit more.
filter->getParameterName (args.index, 16).copyToUTF8 ((char*) args.ptr, 16 + 1);
filter->getParameterName (args.index, 32).copyToUTF8 ((char*) args.ptr, 32 + 1);
}
return 0;


Loading…
Cancel
Save