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:
parent
47246c86e2
commit
5c24db2402
@ -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);
|
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;
|
samplecnt_t ns;
|
||||||
|
|
||||||
if (_remaining_latency_preroll > 0) {
|
if (_remaining_latency_preroll > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user