diff options
author | Robin Gareus <robin@gareus.org> | 2020-01-26 05:15:24 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-01-26 05:15:24 +0100 |
commit | db465b5b439b69800c771dc8898e36d50f6cce7a (patch) | |
tree | 38fc887dd67c92487238572bbf2ea5fe9823a533 /libs/ardour/session_transport.cc | |
parent | 674116b15658f2af64cdb15ce6353ef4596e1aaf (diff) |
Fix Loop-length (no pre-roll on loop-iterations)
Diffstat (limited to 'libs/ardour/session_transport.cc')
-rw-r--r-- | libs/ardour/session_transport.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/session_transport.cc b/libs/ardour/session_transport.cc index 300388acea..7660784797 100644 --- a/libs/ardour/session_transport.cc +++ b/libs/ardour/session_transport.cc @@ -585,7 +585,9 @@ Session::start_transport () _last_roll_location = _transport_sample; _last_roll_or_reversal_location = _transport_sample; - _remaining_latency_preroll = worst_latency_preroll_buffer_size_ceil (); + if (!have_looped) { + _remaining_latency_preroll = worst_latency_preroll_buffer_size_ceil (); + } have_looped = false; |