diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc index 74e6cee4f7..68c43d959a 100644 --- a/libs/ardour/vst_info_file.cc +++ b/libs/ardour/vst_info_file.cc @@ -535,6 +535,7 @@ bool vstfx_midi_input (VSTState* vstfx) if ((plugin->flags & effFlagsIsSynth) || (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast ("receiveVstEvents"), 0.0f) > 0) + || (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast ("receiveVstMidiEvent"), 0.0f) > 0) || (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast ("receiveVstMidiEvents"), 0.0f) > 0) ) { return true; @@ -555,6 +556,7 @@ bool vstfx_midi_output (VSTState* vstfx) if ( (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast ("sendVstEvents"), 0.0f) > 0) || (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast ("sendVstMidiEvent"), 0.0f) > 0) + || (plugin->dispatcher (plugin, effCanDo, 0, 0, const_cast ("sendVstMidiEvents"), 0.0f) > 0) ) { return true; } @@ -578,7 +580,8 @@ simple_master_callback (AEffect *, int32_t opcode, int32_t, intptr_t, void *ptr, "receiveVstMidiEvent", "supportShell", "shellCategory", - "shellCategorycurID" + "shellCategorycurID", + "sizeWindow" }; const int vstfx_can_do_string_count = 9;