From 5438c94765d10f2a9c1b19fa3f7e46c0fb71fd53 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 8 Nov 2016 13:16:27 +0100 Subject: Honor VST "Synth" Category for now... ..until we find a backwards compatible way to save/load effFlagsIsSynth in the cache info files. --- libs/ardour/vst_info_file.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libs/ardour/vst_info_file.cc') 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; -- cgit v1.2.3