13
0

VST? yes, we can do.

This commit is contained in:
Robin Gareus 2014-03-08 23:34:49 +01:00
parent 2fc52ec5fd
commit 551993b96c
2 changed files with 13 additions and 3 deletions

View File

@ -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*);

View File

@ -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;