mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
Fix loop/pre-roll
Pre-roll to fill buffers only needs to be done once when starting to play or when locating. Seamless looping just continues. Every processor takes the loop position into account locally.
This commit is contained in:
parent
f37758ffb7
commit
08fdb98262
1 changed files with 3 additions and 1 deletions
|
|
@ -248,7 +248,9 @@ Session::do_locate (samplepos_t target_sample, bool with_roll, bool with_flush,
|
|||
// thread(s?) can restart.
|
||||
g_atomic_int_inc (&_seek_counter);
|
||||
_last_roll_or_reversal_location = target_sample;
|
||||
_remaining_latency_preroll = worst_latency_preroll ();
|
||||
if (!for_loop_end) {
|
||||
_remaining_latency_preroll = worst_latency_preroll ();
|
||||
}
|
||||
timecode_time(_transport_sample, transmitting_timecode_time); // XXX here?
|
||||
|
||||
/* do "stopped" stuff if:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue