diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-21 14:39:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-21 14:39:21 +0000 |
commit | f41149628955fc8145bef6db0c110b71664c0a3a (patch) | |
tree | 316e15017f50f3f320ee6a74edbc57eaf35cbd6e /gtk2_ardour/gain_meter.h | |
parent | 2093d59a9613dccd509c90f5413b1a2efd164c4b (diff) |
fix clicking when processors become active/inactive; reduce crazy 2.5sec delay for quit dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@5402 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/gain_meter.h')
-rw-r--r-- | gtk2_ardour/gain_meter.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/gain_meter.h b/gtk2_ardour/gain_meter.h index 7feaf5c0e4..4ce13af0d6 100644 --- a/gtk2_ardour/gain_meter.h +++ b/gtk2_ardour/gain_meter.h @@ -47,6 +47,7 @@ namespace ARDOUR { class Route; class RouteGroup; class PeakMeter; + class Amp; class Automatable; } namespace Gtkmm2ext { @@ -66,8 +67,7 @@ class GainMeterBase : virtual public sigc::trackable virtual void set_controls (boost::shared_ptr<ARDOUR::Route> route, boost::shared_ptr<ARDOUR::PeakMeter> meter, - boost::shared_ptr<ARDOUR::AutomationControl> gain_control, - boost::shared_ptr<ARDOUR::Automatable> gc_owner); + boost::shared_ptr<ARDOUR::Amp> amp); void update_gain_sensitive (); void update_meters (); @@ -89,7 +89,7 @@ class GainMeterBase : virtual public sigc::trackable friend class MixerStrip; boost::shared_ptr<ARDOUR::Route> _route; boost::shared_ptr<ARDOUR::PeakMeter> _meter; - boost::shared_ptr<ARDOUR::AutomationControl> _gain_control; + boost::shared_ptr<ARDOUR::Amp> _amp; ARDOUR::Session& _session; std::vector<sigc::connection> connections; @@ -184,8 +184,7 @@ class GainMeter : public GainMeterBase, public Gtk::VBox virtual void set_controls (boost::shared_ptr<ARDOUR::Route> route, boost::shared_ptr<ARDOUR::PeakMeter> meter, - boost::shared_ptr<ARDOUR::AutomationControl> gain_control, - boost::shared_ptr<ARDOUR::Automatable> gc_owner); + boost::shared_ptr<ARDOUR::Amp> amp); int get_gm_width (); void setup_meters (int len=0); |