diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-28 19:31:37 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-11-28 19:31:37 +0000 |
commit | ab61e8de4a6131b7b9bda6835eb1d66eae9c319a (patch) | |
tree | 5d3f0b5aa545210ed638cb4d2ad1617944449fae /libs | |
parent | 761488e547a750907e70573216ea71f0c6789365 (diff) |
fix lookup of LV2 plugin parameter name
git-svn-id: svn://localhost/ardour2/branches/3.0@8119 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; |