summaryrefslogtreecommitdiff
path: root/gtk2_ardour/lv2_plugin_ui.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-12-19 23:11:01 +0000
committerCarl Hetherington <carl@carlh.net>2010-12-19 23:11:01 +0000
commit5f4bdb233a53932986e07fca1cd6c87d22c2886f (patch)
treec9c980115453452dc21931d4337ab1b592f80d95 /gtk2_ardour/lv2_plugin_ui.cc
parentbb7dbe6d86e08ea0fedf12ce50ca3d395aa212a5 (diff)
Clean up plugin preset handling a bit.
git-svn-id: svn://localhost/ardour2/branches/3.0@8301 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/lv2_plugin_ui.cc')
-rw-r--r--gtk2_ardour/lv2_plugin_ui.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc
index 89d46846eb..f8924e5bec 100644
--- a/gtk2_ardour/lv2_plugin_ui.cc
+++ b/gtk2_ardour/lv2_plugin_ui.cc
@@ -55,7 +55,8 @@ void LV2PluginUI::on_external_ui_closed(LV2UI_Controller controller)
void
LV2PluginUI::parameter_changed (uint32_t port_index, float val)
{
- //cout << "parameter_changed" << endl;
+ PlugUIBase::parameter_changed (port_index, val);
+
if (val != _values[port_index]) {
parameter_update(port_index, val);
}
@@ -199,8 +200,6 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title)
}
}
}
-
- _lv2->ParameterChanged.connect (parameter_connection, invalidator (*this), ui_bind (&LV2PluginUI::parameter_changed, this, _1, _2), gui_context());
}
LV2PluginUI::~LV2PluginUI ()