mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
UI port-events are not limited to outputs.
This commit is contained in:
parent
396644dcf2
commit
e343434b60
1 changed files with 4 additions and 9 deletions
|
|
@ -140,11 +140,9 @@ LV2PluginUI::control_changed (uint32_t port_index)
|
||||||
bool
|
bool
|
||||||
LV2PluginUI::start_updating(GdkEventAny*)
|
LV2PluginUI::start_updating(GdkEventAny*)
|
||||||
{
|
{
|
||||||
if (!_output_ports.empty()) {
|
_screen_update_connection.disconnect();
|
||||||
_screen_update_connection.disconnect();
|
_screen_update_connection = Timers::super_rapid_connect
|
||||||
_screen_update_connection = Timers::super_rapid_connect
|
(sigc::mem_fun(*this, &LV2PluginUI::output_update));
|
||||||
(sigc::mem_fun(*this, &LV2PluginUI::output_update));
|
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -152,10 +150,7 @@ bool
|
||||||
LV2PluginUI::stop_updating(GdkEventAny*)
|
LV2PluginUI::stop_updating(GdkEventAny*)
|
||||||
{
|
{
|
||||||
//cout << "stop_updating" << endl;
|
//cout << "stop_updating" << endl;
|
||||||
|
_screen_update_connection.disconnect();
|
||||||
if (!_output_ports.empty()) {
|
|
||||||
_screen_update_connection.disconnect();
|
|
||||||
}
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue