Fix VstParameterProperties (bug from ac03e4a93)

This fixes VST parameter prop.flags (toggle, integer-step).
VestigeMaxLabelLen is used in various places in libardour, most notably
with effGetParamName.
This commit is contained in:
Robin Gareus 2018-04-07 00:16:57 +02:00
parent 868eec264f
commit b15d80ca77

View file

@ -238,7 +238,7 @@ struct _VstParameterProperties
float stepFloat; /* float step */ float stepFloat; /* float step */
float smallStepFloat; /* small float step */ float smallStepFloat; /* small float step */
float largeStepFloat; /* large float step */ float largeStepFloat; /* large float step */
char label[VestigeMaxLabelLen]; /* parameter label */ char label[64]; /* parameter label */
int32_t flags; /* @see VstParameterFlags */ int32_t flags; /* @see VstParameterFlags */
int32_t minInteger; /* integer minimum */ int32_t minInteger; /* integer minimum */
int32_t maxInteger; /* integer maximum */ int32_t maxInteger; /* integer maximum */