summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-03-08 23:34:49 +0100
committerRobin Gareus <robin@gareus.org>2014-03-08 23:34:49 +0100
commit551993b96c6f3f637aad2a72a38b5a9c1a6864f5 (patch)
tree22c5cb3b7d78ea2bb28243b6e5d906a46d6ab77b /libs
parent2fc52ec5fd2c707b0b1ef8e8e244192dcf107138 (diff)
VST? yes, we can do.
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session_vst.cc5
-rw-r--r--libs/ardour/vst_info_file.cc11
2 files changed, 13 insertions, 3 deletions
diff --git a/libs/ardour/session_vst.cc b/libs/ardour/session_vst.cc
index 845293de7c..9c7a34b3c4 100644
--- a/libs/ardour/session_vst.cc
+++ b/libs/ardour/session_vst.cc
@@ -51,8 +51,11 @@ const char* Session::vst_can_do_strings[] = {
X_("sendVstTimeInfo"),
X_("sendVstEvents"),
X_("sendVstMidiEvent"),
+ X_("receiveVstEvents"),
+ X_("receiveVstMidiEvent"),
X_("supportShell"),
- X_("shellCategory")
+ X_("shellCategory"),
+ X_("shellCategorycurID")
};
const int Session::vst_can_do_string_count = sizeof (vst_can_do_strings) / sizeof (char*);
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index 1aca4d6d3b..07c1f56543 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -562,10 +562,17 @@ static intptr_t
simple_master_callback (AEffect *, int32_t opcode, int32_t, intptr_t, void *ptr, float)
{
const char* vstfx_can_do_strings[] = {
+ "supplyIdle",
+ "sendVstTimeInfo",
+ "sendVstEvents",
+ "sendVstMidiEvent",
+ "receiveVstEvents",
+ "receiveVstMidiEvent",
"supportShell",
- "shellCategory"
+ "shellCategory",
+ "shellCategorycurID"
};
- const int vstfx_can_do_string_count = 2;
+ const int vstfx_can_do_string_count = 9;
if (opcode == audioMasterVersion) {
return 2400;