13
0

Honor VST "Synth" Category for now...

..until we find a backwards compatible way to save/load effFlagsIsSynth
in the cache info files.
This commit is contained in:
Robin Gareus 2016-11-08 13:16:27 +01:00
parent 6fb099a88b
commit 5438c94765

View File

@ -302,6 +302,9 @@ vstfx_load_info_block (FILE* fp, VSTInfo *info)
// TODO read isInstrument -- effFlagsIsSynth // TODO read isInstrument -- effFlagsIsSynth
info->isInstrument = info->numInputs == 0 && info->numOutputs > 0 && 1 == (info->wantMidi & 1); info->isInstrument = info->numInputs == 0 && info->numOutputs > 0 && 1 == (info->wantMidi & 1);
if (!strcmp (info->Category, "Synth")) {
info->isInstrument = true;
}
if ((info->numParams) == 0) { if ((info->numParams) == 0) {
info->ParamNames = NULL; info->ParamNames = NULL;