summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/ardour/ardour/vestige/aeffectx.h2
-rw-r--r--libs/ardour/vst_info_file.cc4
-rw-r--r--libs/ardour/vst_plugin.cc4
3 files changed, 5 insertions, 5 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
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index 77be57e8d8..b076c42227 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -682,8 +682,8 @@ vstfx_parse_vst_state (VSTState* vstfx)
#endif
for (int i = 0; i < info->numParams; ++i) {
- char name[64];
- char label[64];
+ char name[VestigeMaxLabelLen];
+ char label[VestigeMaxLabelLen];
/* Not all plugins give parameters labels as well as names */
diff --git a/libs/ardour/vst_plugin.cc b/libs/ardour/vst_plugin.cc
index 6b1f0b3254..bf7637109d 100644
--- a/libs/ardour/vst_plugin.cc
+++ b/libs/ardour/vst_plugin.cc
@@ -379,7 +379,7 @@ VSTPlugin::get_parameter_descriptor (uint32_t which, ParameterDescriptor& desc)
/* old style */
- char label[64];
+ char label[VestigeMaxLabelLen];
/* some VST plugins expect this buffer to be zero-filled */
memset (label, 0, sizeof (label));
@@ -593,7 +593,7 @@ VSTPlugin::do_remove_preset (string name)
string
VSTPlugin::describe_parameter (Evoral::Parameter param)
{
- char name[64];
+ char name[VestigeMaxLabelLen];
if (param.id() == UINT32_MAX - 1) {
strcpy (name, _("Plugin Enable"));
return name;