From ebdf3de598413e135e1f92e19634ac5eb8abe752 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 19 Jan 2017 12:41:48 +0100 Subject: [PATCH] Remove rec-with-preroll, prepare for rework --- gtk2_ardour/editor_ops.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 8354173bf4..349cf584da 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -2668,12 +2668,6 @@ Editor::rec_with_preroll () { framepos_t ph = playhead_cursor->current_frame (); framepos_t preroll = _session->preroll_samples (ph); - framepos_t start = std::max ((framepos_t)0, ph - preroll); - - _session->request_preroll_record (ph); - _session->maybe_enable_record (); - _session->request_locate (start, true); - _session->set_requested_return_frame (ph); }