diff options
author | David Robillard <d@drobilla.net> | 2006-08-31 02:28:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-08-31 02:28:42 +0000 |
commit | 5169a66f35508dfeee8e5f9486788843d229295a (patch) | |
tree | 626276bd0ef3336664f8133ef2d0e3b0a92e7e9e /libs/ardour/track.cc | |
parent | 5a401620266dd832b120235c8e956a86d1f800cd (diff) |
Merged with trunk R874.
Commented out some overly verbose debug prints
git-svn-id: svn://localhost/ardour2/branches/midi@875 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index a96a4a1a82..79229efdab 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -84,7 +84,7 @@ void Track::toggle_monitor_input () { for (PortSet::iterator i = _inputs.begin(); i != _inputs.end(); ++i) { - i->request_monitor_input(!i->monitoring_input()); + i->ensure_monitor_input(!i->monitoring_input()); } } @@ -167,12 +167,6 @@ Track::set_record_enable (bool yn, void *src) return; } - // Do not set rec enabled if the track can't record. - if (yn && !can_record()) { - error << string_compose( _("Can not arm track '%1'. Check the input connections"), name() ) << endmsg; - return; - } - /* keep track of the meter point as it was before we rec-enabled */ if (!_diskstream->record_enabled()) { _saved_meter_point = _meter_point; |