fix issues with MIDI playback (and who knows what else) near start of roll
This commit is contained in:
parent
cae710cd7c
commit
2a96c9ce98
@ -4060,7 +4060,7 @@ Route::latency_preroll (pframes_t nframes, samplepos_t& start_sample, samplepos_
|
|||||||
return nframes;
|
return nframes;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (latency_preroll >= playback_latency ()) {
|
if (latency_preroll > playback_latency ()) {
|
||||||
no_roll_unlocked (nframes, start_sample - latency_preroll, end_sample - latency_preroll, false);
|
no_roll_unlocked (nframes, start_sample - latency_preroll, end_sample - latency_preroll, false);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user