Hi guys, would it be possible to increase the parameter name length in the VST hosting to 32 chars?
I think from Cubase 4 they support up to 127 so most hosts should be ok with 32 (unless anyone has conflicting experience?).
pointer_sized_int handleGetParameterName (VstOpCodeArguments args)
{
if (filter != nullptr)
{
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, 32).copyToUTF8 ((char*) args.ptr, 32 + 1);
}
return 0;
}
