projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
396644d
)
UI port-events are not limited to outputs.
author
Robin Gareus
<robin@gareus.org>
Sun, 3 Jan 2016 19:28:16 +0000
(20:28 +0100)
committer
Robin Gareus
<robin@gareus.org>
Sun, 3 Jan 2016 19:28:16 +0000
(20:28 +0100)
gtk2_ardour/lv2_plugin_ui.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/lv2_plugin_ui.cc
b/gtk2_ardour/lv2_plugin_ui.cc
index fe6b3c70bd87bad17c2dc61ed503f0b376230cbc..c9950fa527c4d7207b242d3d33dc6ffc01dc08f6 100644
(file)
--- a/
gtk2_ardour/lv2_plugin_ui.cc
+++ b/
gtk2_ardour/lv2_plugin_ui.cc
@@
-140,11
+140,9
@@
LV2PluginUI::control_changed (uint32_t port_index)
bool
LV2PluginUI::start_updating(GdkEventAny*)
{
bool
LV2PluginUI::start_updating(GdkEventAny*)
{
- if (!_output_ports.empty()) {
- _screen_update_connection.disconnect();
- _screen_update_connection = Timers::super_rapid_connect
- (sigc::mem_fun(*this, &LV2PluginUI::output_update));
- }
+ _screen_update_connection.disconnect();
+ _screen_update_connection = Timers::super_rapid_connect
+ (sigc::mem_fun(*this, &LV2PluginUI::output_update));
return false;
}
return false;
}
@@
-152,10
+150,7
@@
bool
LV2PluginUI::stop_updating(GdkEventAny*)
{
//cout << "stop_updating" << endl;
LV2PluginUI::stop_updating(GdkEventAny*)
{
//cout << "stop_updating" << endl;
-
- if (!_output_ports.empty()) {
- _screen_update_connection.disconnect();
- }
+ _screen_update_connection.disconnect();
return false;
}
return false;
}