13
0

fix typo/thinko in logic to decide if MIDI buffers in DiskWriter require the butler (to write to disk)

This commit is contained in:
Paul Davis 2019-11-18 11:40:06 -07:00
parent 3cf888498a
commit 80cab52a06

View File

@ -625,7 +625,7 @@ DiskWriter::run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_samp
/* MIDI BUTLER REQUIRED CODE */ /* MIDI BUTLER REQUIRED CODE */
if (_playlists[DataType::MIDI] && _midi_buf && (_midi_buf->read_space() < _midi_buf->bufsize() / 2)) { if (_playlists[DataType::MIDI] && _midi_buf && (_midi_buf->read_space() >= _midi_buf->bufsize() / 2)) {
_need_butler = true; _need_butler = true;
} }