13
0

LV2 - use scratch buffers to scratch :)

This commit is contained in:
Robin Gareus 2013-07-31 14:45:02 +02:00
parent 1c08b910f0
commit 097d851730

View File

@ -1651,7 +1651,7 @@ LV2Plugin::connect_and_run(BufferSet& bufs,
}
} else if (!valid) {
// Nothing we understand or care about, connect to scratch
_ev_buffers[port_index] = silent_bufs.get_lv2_midi(
_ev_buffers[port_index] = scratch_bufs.get_lv2_midi(
(flags & PORT_INPUT), 0, (flags & PORT_EVENT));
}
buf = lv2_evbuf_get_buffer(_ev_buffers[port_index]);