summaryrefslogtreecommitdiff
path: root/libs/ardour/session_process.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-10-12 01:49:05 +0200
committerRobin Gareus <robin@gareus.org>2017-10-12 01:49:05 +0200
commit5c24db24020fc37a4c7fb52ffa7777c0a12fbe37 (patch)
treed779f1cbd14e59cfba3f0c74326c5d3ef6fda4ac /libs/ardour/session_process.cc
parent47246c86e28beefee57cb409ea60e3b4573414b9 (diff)
Fix pre-roll cycle-split
previously this worked as long as the cycle was only needed to be split once.
Diffstat (limited to 'libs/ardour/session_process.cc')
-rw-r--r--libs/ardour/session_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_process.cc b/libs/ardour/session_process.cc
index d16f7d3b0c..fe946f865d 100644
--- a/libs/ardour/session_process.cc
+++ b/libs/ardour/session_process.cc
@@ -302,7 +302,7 @@ Session::process_with_events (pframes_t nframes)
assert (_count_in_samples == 0 || _remaining_latency_preroll == 0 || _count_in_samples == _remaining_latency_preroll);
- if (_count_in_samples > 0 || _remaining_latency_preroll > 0) {
+ while (_count_in_samples > 0 || _remaining_latency_preroll > 0) {
samplecnt_t ns;
if (_remaining_latency_preroll > 0) {