mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
do not try to process audio in a diskreader with no audio playlist
This commit is contained in:
parent
aeefd7e50a
commit
a73577a45a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue