diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-24 16:40:56 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-07-24 16:40:56 +0000 |
commit | c685724c8067fc9308c5f66f1b91d445509159e9 (patch) | |
tree | 5261c9d9c168f4f8351e1855f080d0688889e751 /libs/ardour/track.cc | |
parent | e3241a03cf3d3d4cc09c125340444c6f72e0346b (diff) |
step editing now accessed via a context menu on MIDI track rec-enable buttons. along the way, fixed up confusion between set_rec_enable() and set_rec_enabled() methods in Route/Track/Diskstream
git-svn-id: svn://localhost/ardour2/branches/3.0@7482 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/track.cc')
-rw-r--r-- | libs/ardour/track.cc | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/libs/ardour/track.cc b/libs/ardour/track.cc index 23afe6dea2..145251a021 100644 --- a/libs/ardour/track.cc +++ b/libs/ardour/track.cc @@ -132,7 +132,7 @@ void Track::RecEnableControllable::set_value (float val) { bool bval = ((val >= 0.5f) ? true: false); - track.set_record_enable (bval, this); + track.set_record_enabled (bval, this); } float @@ -161,7 +161,7 @@ Track::can_record() } void -Track::set_record_enable (bool yn, void *src) +Track::set_record_enabled (bool yn, void *src) { if (!_session.writable()) { return; @@ -172,7 +172,7 @@ Track::set_record_enable (bool yn, void *src) } if (_route_group && src != _route_group && _route_group->is_active() && _route_group->is_recenable()) { - _route_group->apply (&Track::set_record_enable, yn, _route_group); + _route_group->apply (&Track::set_record_enabled, yn, _route_group); return; } @@ -599,12 +599,6 @@ Track::alignment_style () const return _diskstream->alignment_style (); } -void -Track::set_record_enabled (bool r) -{ - _diskstream->set_record_enabled (r); -} - nframes_t Track::current_capture_start () const { |