Skip to content

Commit

Permalink
Increase parameter name and label lengths
Browse files Browse the repository at this point in the history
While both are specified as 8, host usually support more.
These values are taken from the JUCE SDK.
  • Loading branch information
david0 authored and falkTX committed May 14, 2020
1 parent 1b4f479 commit 8223eb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lv2vst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ void LV2Vst::get_parameter_name (int32_t i, char* label)
{
const LV2Port* l = index_to_desc (i);
if (l) {
strncpyn (label, l->name, 8);
strncpyn (label, l->name, 32);
}
}

Expand All @@ -490,7 +490,7 @@ void LV2Vst::get_parameter_label (int32_t i, char* label)
{
const LV2Port* l = index_to_desc (i);
if (l) {
strncpyn (label, l->doc, 8);
strncpyn (label, l->doc, 24);
}
}

Expand Down

0 comments on commit 8223eb1

Please sign in to comment.