diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-27 21:15:16 -0700 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2019-12-27 21:18:12 -0700 |
commit | ed67f465fb765d33ebe4a459540b371bbae44a95 (patch) | |
tree | 00f559c9d29d73181c38e0a4cdda0922bfa22fdc /libs/ardour/session_export.cc | |
parent | 5cdeb2401f789e9968a4f1fb775d1dfb3e9f5a77 (diff) |
fix JACK transport sync
key change: to sync with JACK always locate jack-position PLUS buffer-sized-rounded-worst_latency_preroll() ahead
Diffstat (limited to 'libs/ardour/session_export.cc')
-rw-r--r-- | libs/ardour/session_export.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index c1a7f5f388..3ec32e1d6f 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -161,7 +161,7 @@ Session::start_audio_export (samplepos_t position, bool realtime, bool region_ex _transport_sample = position; if (!region_export) { - _remaining_latency_preroll = worst_latency_preroll (); + _remaining_latency_preroll = worst_latency_preroll_buffer_size_ceil (); } else { _remaining_latency_preroll = 0; } |