Skip VST version check to detect MIDI inputs
authorRobin Gareus <robin@gareus.org>
Thu, 1 Nov 2018 14:27:08 +0000 (15:27 +0100)
committerRobin Gareus <robin@gareus.org>
Thu, 1 Nov 2018 14:27:08 +0000 (15:27 +0100)
commit694c5fcfa66b6c78bfc46ff9ac8b634b8ffdc05f
tree5658171fceeed56265fda7fde0359b11c09795e9
parentd9fcab88f01f7ada6f52482f1ee60fc41c91235c
Skip VST version check to detect MIDI inputs

Some plugins return 0 from effGetVstVersion and are hence not detected
as instruments. e.g. VeeSeeVSTRack (VCV). This may also explain why MIDI
port of some other VSTs are not exposed.

Most VST2.4 return 2400, so checking  [effGetVstVersion] >=2 (and not 2000)
was incorrect to begin with.
libs/ardour/vst_info_file.cc