mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-09 23:25:43 +01:00
Remove rec-with-preroll, prepare for rework
This commit is contained in:
parent
22eae69078
commit
ebdf3de598
1 changed files with 0 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue