Hi Jues,
I have a very simple request for the VST wrapper. It looks like when the code asks for a string it truncates it without giving the plug-in a chance to do the truncation intelligently. This can easily be solved by passing in the max string length to the appropriate filter get functions.
For example,
filter->getParameterName (index).copyToUTF8 (text, 16); // length should technically be kVstMaxParamStrLen, which is 8, but hosts will normally allow a bit more.
Would become:
filter->getParameterName (index, 16).copyToUTF8 (text, 16); // length should technically be kVstMaxParamStrLen, which is 8, but hosts will normally allow a bit more.
It looks like this change is fully backward compatible with existing code, even if it doesn't do inteligent truncation.
Thanks
