do not try to process audio in a diskreader with no audio playlist
This commit is contained in:
parent
aeefd7e50a
commit
a73577a45a
@ -309,7 +309,7 @@ DiskReader::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
|
|||||||
disk_samples_to_consume = nframes;
|
disk_samples_to_consume = nframes;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (c->empty()) {
|
if (c->empty() || !_playlists[DataType::AUDIO]) {
|
||||||
/* do nothing with audio */
|
/* do nothing with audio */
|
||||||
goto midi;
|
goto midi;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user