From ab61e8de4a6131b7b9bda6835eb1d66eae9c319a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 28 Nov 2010 19:31:37 +0000 Subject: [PATCH] fix lookup of LV2 plugin parameter name git-svn-id: svn://localhost/ardour2/branches/3.0@8119 d708f5d6-7413-0410-9779-e7cbd77b26cf --- libs/ardour/lv2_plugin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 0bee37d2be..3f333e3c92 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -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;