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:
parent
feab950ea0
commit
bb4d769310
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user