13
0

Handle case where an audio-port is added to a MIDI only delayline

This commit is contained in:
Robin Gareus 2019-09-27 14:50:40 +02:00
parent 478f165295
commit e1378e7be5
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -206,6 +206,10 @@ DelayLine::run (BufferSet& bufs, samplepos_t /* start_sample */, samplepos_t /*
} else {
/* set new delay for MIDI only */
_delay = pending_delay;
/* prepare for the case that an audio-port is added */
_woff = _delay;
_roff = 0;
}
if (_midi_buf.get ()) {