LV2 - use scratch buffers to scratch :)
This commit is contained in:
parent
1c08b910f0
commit
097d851730
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user