13
0

Remain silent while a disk-buffer is overwritten

This catches a case where a user-operation results in a complete
buffer re-fill during playback (e.g. split or move regions while playing)
This commit is contained in:
Robin Gareus 2019-02-18 02:18:13 +01:00
parent feab950ea0
commit bb4d769310
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -276,7 +276,7 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
} }
BufferSet& scratch_bufs (_session.get_scratch_buffers (bufs.count())); BufferSet& scratch_bufs (_session.get_scratch_buffers (bufs.count()));
const bool still_locating = _session.global_locate_pending(); const bool still_locating = _session.global_locate_pending() || pending_overwrite ();
if (c->empty()) { if (c->empty()) {
/* do nothing with audio */ /* do nothing with audio */