summaryrefslogtreecommitdiff
path: root/libs/ardour/vst_info_file.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-11-08 13:16:27 +0100
committerRobin Gareus <robin@gareus.org>2016-11-08 13:30:09 +0100
commit5438c94765d10f2a9c1b19fa3f7e46c0fb71fd53 (patch)
tree31d513cf1eba3c27285628e5ef8109755aac70dd /libs/ardour/vst_info_file.cc
parent6fb099a88b40a9337c5f1b5fea0ebb00e85f598f (diff)
Honor VST "Synth" Category for now...
..until we find a backwards compatible way to save/load effFlagsIsSynth in the cache info files.
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r--libs/ardour/vst_info_file.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index 8993ba2b3d..80d2f61a2f 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -302,6 +302,9 @@ vstfx_load_info_block (FILE* fp, VSTInfo *info)
// TODO read isInstrument -- effFlagsIsSynth
info->isInstrument = info->numInputs == 0 && info->numOutputs > 0 && 1 == (info->wantMidi & 1);
+ if (!strcmp (info->Category, "Synth")) {
+ info->isInstrument = true;
+ }
if ((info->numParams) == 0) {
info->ParamNames = NULL;