summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/vestige
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-05-09 21:58:50 +0200
committerRobin Gareus <robin@gareus.org>2017-05-10 00:26:02 +0200
commitac03e4a937a9a0581423fa0c9cfb6cea5dbd2275 (patch)
treeacc569a7b59d601fcd22b23fc8353e3daa40b149 /libs/ardour/ardour/vestige
parent82fed14f41f1d480fef400384d81838d1edf3d32 (diff)
Bump VST param-name length limit to 128 bytes and centralize definition
The official VST spec says 8 bytes, JUCE uses 24 + 1, and there's anecdotal evidence that some VSTs use up to 100 (which apparently works in many hosts).
Diffstat (limited to 'libs/ardour/ardour/vestige')
-rw-r--r--libs/ardour/ardour/vestige/aeffectx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/vestige/aeffectx.h b/libs/ardour/ardour/vestige/aeffectx.h
index 25be89b09a..a9a168ed1d 100644
--- a/libs/ardour/ardour/vestige/aeffectx.h
+++ b/libs/ardour/ardour/vestige/aeffectx.h
@@ -204,7 +204,7 @@ struct _VstEvents
enum Vestige2StringConstants
{
VestigeMaxNameLen = 64,
- VestigeMaxLabelLen = 64,
+ VestigeMaxLabelLen = 128,
VestigeMaxShortLabelLen = 8,
VestigeMaxCategLabelLen = 24,
VestigeMaxFileNameLen = 100