From ac03e4a937a9a0581423fa0c9cfb6cea5dbd2275 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 9 May 2017 21:58:50 +0200 Subject: 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). --- libs/ardour/ardour/vestige/aeffectx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/ardour/ardour/vestige') 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 -- cgit v1.2.3