projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47246c8
)
Fix pre-roll cycle-split
author
Robin Gareus
<robin@gareus.org>
Wed, 11 Oct 2017 23:49:05 +0000
(
01:49
+0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 11 Oct 2017 23:49:05 +0000
(
01:49
+0200)
previously this worked as long as the cycle was only
needed to be split once.
libs/ardour/session_process.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/session_process.cc
b/libs/ardour/session_process.cc
index d16f7d3b0cad3f6ee12ed624e28e28467f865454..fe946f865d6f08307687ff17ed766d54c88f86a1 100644
(file)
--- 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) {