diff options
author | Robin Gareus <robin@gareus.org> | 2017-09-29 21:01:50 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-09-29 21:02:22 +0200 |
commit | ccedb2d44e808f8d66f7e8de2a62385497dbc887 (patch) | |
tree | eadc52581264d1df6caf0fdd1264944b05f8ed3d /libs/ardour/session.cc | |
parent | 33811b51b26cbcee2230f28f0e39fb6997e0ae61 (diff) |
Remove unused punch+preroll API
This API was not used, also superseded by record w/preroll.
Diffstat (limited to 'libs/ardour/session.cc')
-rw-r--r-- | libs/ardour/session.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 3d942c6f43..1f6cb14698 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -311,7 +311,6 @@ Session::Session (AudioEngine &eng, , _play_range (false) , _range_selection (-1,-1) , _object_selection (-1,-1) - , _preroll_record_punch_pos (-1) , _preroll_record_trim_len (0) , _count_in_once (false) , main_outs (0) @@ -851,7 +850,6 @@ Session::destroy () case SessionEvent::Skip: case SessionEvent::PunchIn: case SessionEvent::PunchOut: - case SessionEvent::RecordStart: case SessionEvent::StopOnce: case SessionEvent::RangeStop: case SessionEvent::RangeLocate: @@ -2158,7 +2156,7 @@ Session::maybe_enable_record (bool rt_context) } if (_transport_speed) { - if (!config.get_punch_in() && !preroll_record_punch_enabled ()) { + if (!config.get_punch_in()) { enable_record (); } } else { @@ -3416,7 +3414,7 @@ Session::new_route_from_template (uint32_t how_many, PresentationInfo::order_t i } /* set this name in the XML description that we are about to use */ - +#warning fixme -- no more Diskstream if (pd == CopyPlaylist) { XMLNode* ds_node = find_named_node (node_copy, "Diskstream"); if (ds_node) { |