13
0

fix issues with MIDI playback (and who knows what else) near start of roll

This commit is contained in:
Paul Davis 2024-10-08 08:10:41 -06:00
parent cae710cd7c
commit 2a96c9ce98

View File

@ -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;
} }