13
0

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

@ -235,10 +235,10 @@ typedef struct _VstEvents VstEvents;
/* this struct taken from http://asseca.com/vst-24-specs/efGetParameterProperties.html */ /* this struct taken from http://asseca.com/vst-24-specs/efGetParameterProperties.html */
struct _VstParameterProperties 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 */