From: Robin Gareus Date: Tue, 8 Nov 2016 12:16:27 +0000 (+0100) Subject: Honor VST "Synth" Category for now... X-Git-Tag: 5.5~235 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;h=5438c94765d10f2a9c1b19fa3f7e46c0fb71fd53;p=ardour.git Honor VST "Synth" Category for now... ..until we find a backwards compatible way to save/load effFlagsIsSynth in the cache info files. --- 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;