use buf_index_in() to identify VST MIDI buffer
Probably unnecessary as long we only have 1 MIDI port route, but this at least keeps symmetry with the output side
This commit is contained in:
parent
1e4559805f
commit
1a3634f3b9
@ -573,7 +573,7 @@ VSTPlugin::connect_and_run (BufferSet& bufs,
|
||||
bool valid = false;
|
||||
const uint32_t buf_index_in = in_map.get(DataType::MIDI, 0, &valid);
|
||||
if (valid) {
|
||||
v = bufs.get_vst_midi (0);
|
||||
v = bufs.get_vst_midi (buf_index_in);
|
||||
}
|
||||
valid = false;
|
||||
const uint32_t buf_index_out = out_map.get(DataType::MIDI, 0, &valid);
|
||||
|
Loading…
Reference in New Issue
Block a user