case ARDOUR::Windows_VST:
have_gui = create_windows_vst_editor (insert);
break;
-
+
case ARDOUR::LXVST:
have_gui = create_lxvst_editor (insert);
break;
plugin->PresetAdded.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::preset_added_or_removed, this), gui_context ());
plugin->PresetRemoved.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::preset_added_or_removed, this), gui_context ());
plugin->PresetLoaded.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::update_preset, this), gui_context ());
- plugin->ParameterChanged.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::parameter_changed, this, _1, _2), gui_context ());
+ plugin->PresetDirty.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::update_preset_modified, this), gui_context ());
insert->AutomationStateChanged.connect (*this, invalidator (*this), boost::bind (&PlugUIBase::automation_state_changed, this), gui_context());
PlugUIBase::bypass_button_release (GdkEventButton*)
{
bool view_says_bypassed = (bypass_button.active_state() != 0);
-
+
if (view_says_bypassed != insert->active()) {
if (view_says_bypassed) {
insert->activate ();
description_expander.add(*label);
description_expander.show_all();
}
-
+
if (!description_expander.get_expanded()) {
description_expander.remove();
}
}
}
-void
-PlugUIBase::parameter_changed (uint32_t, float)
-{
- update_preset_modified ();
-}
-
void
PlugUIBase::preset_added_or_removed ()
{