diff options
author | Robin Gareus <robin@gareus.org> | 2018-04-07 00:16:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-04-07 00:16:57 +0200 |
commit | b15d80ca77edadc4f65bab27ea732d73b320d0ef (patch) | |
tree | 607615328fa823765a855663f98947aa20e78208 /libs | |
parent | 868eec264f1cfa546e889b0651d5238e7a3367ee (diff) |
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.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/ardour/vestige/aeffectx.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/ardour/vestige/aeffectx.h b/libs/ardour/ardour/vestige/aeffectx.h index 40356d3455..3deb426b51 100644 --- a/libs/ardour/ardour/vestige/aeffectx.h +++ b/libs/ardour/ardour/vestige/aeffectx.h @@ -235,10 +235,10 @@ typedef struct _VstEvents VstEvents; /* this struct taken from http://asseca.com/vst-24-specs/efGetParameterProperties.html */ struct _VstParameterProperties { - float stepFloat; /* float step */ - float smallStepFloat; /* small float step */ - float largeStepFloat; /* large float step */ - char label[VestigeMaxLabelLen]; /* parameter label */ + float stepFloat; /* float step */ + float smallStepFloat; /* small float step */ + float largeStepFloat; /* large float step */ + char label[64]; /* parameter label */ int32_t flags; /* @see VstParameterFlags */ int32_t minInteger; /* integer minimum */ int32_t maxInteger; /* integer maximum */ |