13
0

do not try to process audio in a diskreader with no audio playlist

This commit is contained in:
Paul Davis 2019-12-18 17:34:39 -07:00
parent aeefd7e50a
commit a73577a45a

View File

@ -309,7 +309,7 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
disk_samples_to_consume = nframes;
}
if (c->empty()) {
if (c->empty() || !_playlists[DataType::AUDIO]) {
/* do nothing with audio */
goto midi;
}