13
0

Fix pre-roll cycle-split

previously this worked as long as the cycle was only
needed to be split once.
This commit is contained in:
Robin Gareus 2017-10-12 01:49:05 +02:00
parent 47246c86e2
commit 5c24db2402

View File

@ -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) {