From 5aecfc5acb41f6d05804a88b99eec159e96a66c9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 15 Jul 2017 20:50:26 +0200 Subject: Remove Timers to watch Controllable values Depend on Changed() signals alone, which are usually much less frequent than rapid-timer events. As side-effect we now need to make the widgets insensitive when playing automation. Previously the user could not change the value because the Timer periodically reset it. --- gtk2_ardour/processor_box.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/processor_box.h') diff --git a/gtk2_ardour/processor_box.h b/gtk2_ardour/processor_box.h index fa614f9b6f..527eba62ae 100644 --- a/gtk2_ardour/processor_box.h +++ b/gtk2_ardour/processor_box.h @@ -219,6 +219,7 @@ private: void button_clicked (); void button_clicked_event (GdkEventButton *); void control_changed (); + void control_automation_state_changed (); std::string state_id () const; void set_tooltip (); @@ -230,10 +231,9 @@ private: /* things for a button */ ArdourButton _button; bool _ignore_ui_adjustment; - PBD::ScopedConnection _connection; + PBD::ScopedConnectionList _connections; bool _visible; std::string _name; - sigc::connection timer_connection; }; std::list _controls; -- cgit v1.2.3