projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb099a
)
Honor VST "Synth" Category for now...
author
Robin Gareus
<robin@gareus.org>
Tue, 8 Nov 2016 12:16:27 +0000
(13:16 +0100)
committer
Robin Gareus
<robin@gareus.org>
Tue, 8 Nov 2016 12:30:09 +0000
(13:30 +0100)
..until we find a backwards compatible way to save/load effFlagsIsSynth
in the cache info files.
libs/ardour/vst_info_file.cc
patch
|
blob
|
history
diff --git
a/libs/ardour/vst_info_file.cc
b/libs/ardour/vst_info_file.cc
index 8993ba2b3d3df4e541c8c67df380932524365801..80d2f61a2f29faab78e2cb444d02c362a8426635 100644
(file)
--- 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;