fix typo/thinko in logic to decide if MIDI buffers in DiskWriter require the butler (to write to disk)
This commit is contained in:
parent
3cf888498a
commit
80cab52a06
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user