diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-21 03:23:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-07-21 03:23:57 +0000 |
commit | 20342cf2644fee7b04d6cfdc4fc686897837a01b (patch) | |
tree | cde2cbeb36402a003148c21aa92c1b27c5a418b5 /gtk2_ardour/gain_meter.cc | |
parent | 769e2c3feb2ce30056bfb8ec6eb7ec6a1d4324c6 (diff) |
first part of fixing up send/return metering ; make send-controlling faders work ; fixes from 2.X for key editor and untranslatable string; use standard name for surfaces lib version in wiimote wscript
git-svn-id: svn://localhost/ardour2/branches/3.0@5400 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/gain_meter.cc')
-rw-r--r-- | gtk2_ardour/gain_meter.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc index 4f6b48666c..6ed8893752 100644 --- a/gtk2_ardour/gain_meter.cc +++ b/gtk2_ardour/gain_meter.cc @@ -167,11 +167,6 @@ GainMeterBase::set_controls (boost::shared_ptr<Route> r, { connections.clear (); - cerr << "GM reset controls for " << r->name() - << " pm = " << pm - << " autocontrol = " << gc - << endl; - if (!pm && !gc) { level_meter->set_meter (0); gain_slider->set_controllable (boost::shared_ptr<PBD::Controllable>()); @@ -377,9 +372,7 @@ void GainMeterBase::gain_adjusted () { if (!ignore_toggle) { - if (_route) { - _route->set_gain (slider_position_to_gain (gain_adjustment.get_value()), this); - } + _gain_control->set_value (slider_position_to_gain (gain_adjustment.get_value())); } show_gain (); @@ -423,7 +416,6 @@ void GainMeterBase::update_gain_sensitive () { bool x = !(_gain_control->alist()->automation_state() & Play); - cerr << " for " << _route->name() << " set gain sensitive to " << x << endl; static_cast<Gtkmm2ext::SliderController*>(gain_slider)->set_sensitive (x); } |