summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-15 02:14:23 +0000
committerDavid Robillard <d@drobilla.net>2009-02-15 02:14:23 +0000
commit67ce82c9b4d115d792e823b3f4b30d0bef8c5ce2 (patch)
tree4ad001f60338af3e55b83e87b08077f1c1f29a15 /gtk2_ardour
parent0d7936d8235dd6136949278efb5836883f149283 (diff)
Shutup.
git-svn-id: svn://localhost/ardour2/branches/3.0@4574 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/gain_meter.cc13
1 files changed, 6 insertions, 7 deletions
diff --git a/gtk2_ardour/gain_meter.cc b/gtk2_ardour/gain_meter.cc
index f90e28a9ac..429331178c 100644
--- a/gtk2_ardour/gain_meter.cc
+++ b/gtk2_ardour/gain_meter.cc
@@ -161,8 +161,6 @@ GainMeterBase::~GainMeterBase ()
void
GainMeterBase::set_io (boost::shared_ptr<IO> io)
{
- cerr << this << " Clear all connections\n";
-
connections.clear ();
_io = io;
@@ -203,7 +201,7 @@ GainMeterBase::set_io (boost::shared_ptr<IO> io)
}
}
- cerr << "Connect " << this << " to gain change for " << _io->name() << endl;
+ //cerr << "Connect " << this << " to gain change for " << _io->name() << endl;
connections.push_back (_io->gain_control()->Changed.connect (mem_fun(*this, &GainMeterBase::gain_changed)));
@@ -376,11 +374,11 @@ GainMeterBase::show_gain ()
void
GainMeterBase::gain_adjusted ()
{
- cerr << this << " for " << _io->name() << " GAIN ADJUSTED\n";
+ //cerr << this << " for " << _io->name() << " GAIN ADJUSTED\n";
if (!ignore_toggle) {
- cerr << "Set GC\n";
+ //cerr << "Set GC\n";
_io->gain_control()->set_value (slider_position_to_gain (gain_adjustment.get_value()));
- cerr << "Set GC OUT\n";
+ //cerr << "Set GC OUT\n";
}
show_gain ();
}
@@ -390,7 +388,8 @@ GainMeterBase::effective_gain_display ()
{
gfloat value = gain_to_slider_position (_io->effective_gain());
- cerr << this << " for " << _io->name() << " EGAIN = " << value << " AGAIN = " << gain_adjustment.get_value () << endl;
+ //cerr << this << " for " << _io->name() << " EGAIN = " << value
+ // << " AGAIN = " << gain_adjustment.get_value () << endl;
// stacktrace (cerr, 20);
if (gain_adjustment.get_value() != value) {