Handle case where an audio-port is added to a MIDI only delayline
This commit is contained in:
parent
478f165295
commit
e1378e7be5
@ -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 ()) {
|
||||
|
Loading…
Reference in New Issue
Block a user