|
|
@@ -734,7 +734,9 @@ static intptr_t vst_dispatcherCallback(AEffect* effect, int32_t opcode, int32_t |
|
|
|
|
|
|
|
const NativePluginDescriptor* pluginDesc = nullptr; |
|
|
|
#if CARLA_PLUGIN_PATCHBAY |
|
|
|
# ifdef CARLA_PLUGIN_16CH |
|
|
|
# if defined(CARLA_PLUGIN_32CH) |
|
|
|
const char* const pluginLabel = "carlapatchbay32"; |
|
|
|
# elif defined(CARLA_PLUGIN_16CH) |
|
|
|
const char* const pluginLabel = "carlapatchbay16"; |
|
|
|
# else |
|
|
|
const char* const pluginLabel = "carlapatchbay"; |
|
|
@@ -800,7 +802,9 @@ static intptr_t vst_dispatcherCallback(AEffect* effect, int32_t opcode, int32_t |
|
|
|
{ |
|
|
|
#if CARLA_PLUGIN_PATCHBAY |
|
|
|
# if CARLA_PLUGIN_SYNTH |
|
|
|
# ifdef CARLA_PLUGIN_16CH |
|
|
|
# if defined(CARLA_PLUGIN_32CH) |
|
|
|
std::strncpy(cptr, "Carla-Patchbay32", 32); |
|
|
|
# elif defined(CARLA_PLUGIN_16CH) |
|
|
|
std::strncpy(cptr, "Carla-Patchbay16", 32); |
|
|
|
# else |
|
|
|
std::strncpy(cptr, "Carla-Patchbay", 32); |
|
|
@@ -832,7 +836,9 @@ static intptr_t vst_dispatcherCallback(AEffect* effect, int32_t opcode, int32_t |
|
|
|
{ |
|
|
|
#if CARLA_PLUGIN_PATCHBAY |
|
|
|
# if CARLA_PLUGIN_SYNTH |
|
|
|
# ifdef CARLA_PLUGIN_16CH |
|
|
|
# if defined(CARLA_PLUGIN_32CH) |
|
|
|
std::strncpy(cptr, "CarlaPatchbay32", 32); |
|
|
|
# elif defined(CARLA_PLUGIN_16CH) |
|
|
|
std::strncpy(cptr, "CarlaPatchbay16", 32); |
|
|
|
# else |
|
|
|
std::strncpy(cptr, "CarlaPatchbay", 32); |
|
|
@@ -922,7 +928,9 @@ const AEffect* VSTPluginMain(audioMasterCallback audioMaster) |
|
|
|
static const int32_t uniqueId = CCONST('C', 'r', 'l', 'a'); |
|
|
|
#if CARLA_PLUGIN_SYNTH |
|
|
|
# if CARLA_PLUGIN_PATCHBAY |
|
|
|
# ifdef CARLA_PLUGIN_16CH |
|
|
|
# if defined(CARLA_PLUGIN_32CH) |
|
|
|
effect->uniqueID = uniqueId+6; |
|
|
|
# elif defined(CARLA_PLUGIN_16CH) |
|
|
|
effect->uniqueID = uniqueId+5; |
|
|
|
# else |
|
|
|
effect->uniqueID = uniqueId+4; |
|
|
@@ -941,7 +949,10 @@ const AEffect* VSTPluginMain(audioMasterCallback audioMaster) |
|
|
|
// plugin fields |
|
|
|
effect->numParams = 0; |
|
|
|
effect->numPrograms = 0; |
|
|
|
#ifdef CARLA_PLUGIN_16CH |
|
|
|
#if defined(CARLA_PLUGIN_32CH) |
|
|
|
effect->numInputs = 32; |
|
|
|
effect->numOutputs = 32; |
|
|
|
#elif defined(CARLA_PLUGIN_16CH) |
|
|
|
effect->numInputs = 16; |
|
|
|
effect->numOutputs = 16; |
|
|
|
#else |
|
|
|