Shutup.
git-svn-id: svn://localhost/ardour2/branches/3.0@4574 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
0d7936d823
commit
67ce82c9b4
|
@ -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) {
|
||||
|
|
|
@ -2333,7 +2333,7 @@ IO::set_gain (gain_t val, void *src)
|
|||
val = 1.99526231f;
|
||||
}
|
||||
|
||||
cerr << "set desired gain to " << val << " when curgain = " << _gain_control->get_value () << endl;
|
||||
//cerr << "set desired gain to " << val << " when curgain = " << _gain_control->get_value () << endl;
|
||||
|
||||
if (src != _gain_control.get()) {
|
||||
_gain_control->set_value(val);
|
||||
|
|
|
@ -89,7 +89,7 @@ SMF::open(const std::string& path, int track) THROW_FILE_ERROR
|
|||
if (!_smf_track)
|
||||
return -2;
|
||||
|
||||
cerr << "Track " << track << " # events: " << _smf_track->number_of_events << endl;
|
||||
//cerr << "Track " << track << " # events: " << _smf_track->number_of_events << endl;
|
||||
if (_smf_track->number_of_events == 0) {
|
||||
_smf_track->next_event_number = 0;
|
||||
_empty = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user