From c33cabeb828d673f2298c0894ebf1b1d3ad79218 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 11 Jul 2013 14:54:28 +0200 Subject: [PATCH] update plugin UIs at reasonable rate (25Hz) --- gtk2_ardour/generic_pluginui.cc | 2 +- gtk2_ardour/lv2_plugin_ui.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk2_ardour/generic_pluginui.cc b/gtk2_ardour/generic_pluginui.cc index 52bb468a67..72273f512a 100644 --- a/gtk2_ardour/generic_pluginui.cc +++ b/gtk2_ardour/generic_pluginui.cc @@ -836,7 +836,7 @@ GenericPluginUI::start_updating (GdkEventAny*) { if (output_controls.size() > 0 ) { screen_update_connection.disconnect(); - screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect + screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (sigc::mem_fun(*this, &GenericPluginUI::output_update)); } return false; diff --git a/gtk2_ardour/lv2_plugin_ui.cc b/gtk2_ardour/lv2_plugin_ui.cc index 839bc6a4b8..2fe817a6a0 100644 --- a/gtk2_ardour/lv2_plugin_ui.cc +++ b/gtk2_ardour/lv2_plugin_ui.cc @@ -144,7 +144,7 @@ LV2PluginUI::start_updating(GdkEventAny*) { if (!_output_ports.empty()) { _screen_update_connection.disconnect(); - _screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect + _screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (sigc::mem_fun(*this, &LV2PluginUI::output_update)); } return false; @@ -322,7 +322,7 @@ LV2PluginUI::lv2ui_instantiate(const std::string& title) if (_lv2->has_message_output()) { _lv2->enable_ui_emmission(); - ARDOUR_UI::instance()->RapidScreenUpdate.connect( + ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect( sigc::mem_fun(*this, &LV2PluginUI::update_timeout)); } } @@ -432,7 +432,7 @@ LV2PluginUI::on_window_show(const std::string& title) LV2_EXTERNAL_UI_SHOW(_external_ui_ptr); _screen_update_connection.disconnect(); - _screen_update_connection = ARDOUR_UI::instance()->RapidScreenUpdate.connect + _screen_update_connection = ARDOUR_UI::instance()->SuperRapidScreenUpdate.connect (sigc::mem_fun(*this, &LV2PluginUI::output_update)); return false; } else {