fix lookup of LV2 plugin parameter name
git-svn-id: svn://localhost/ardour2/branches/3.0@8119 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
761488e547
commit
ab61e8de4a
@ -494,7 +494,7 @@ LV2Plugin::describe_parameter (Evoral::Parameter which)
|
||||
{
|
||||
if (which.type() == PluginAutomation && which.id() < parameter_count()) {
|
||||
SLV2Value name = slv2_port_get_name(_plugin,
|
||||
slv2_plugin_get_port_by_index(_plugin, which));
|
||||
slv2_plugin_get_port_by_index(_plugin, which.id()));
|
||||
string ret(slv2_value_as_string(name));
|
||||
slv2_value_free(name);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user