From 06c1d62dd9316a295cb6729682557f5e377082bc Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 25 May 2022 16:17:46 +0100 Subject: [PATCH] Fix build, set vst3 speaker arrangements on fx and synth variants Signed-off-by: falkTX --- carla | 2 +- dpf | 2 +- src/CardinalPlugin.cpp | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/carla b/carla index 0972c33..0f94a10 160000 --- a/carla +++ b/carla @@ -1 +1 @@ -Subproject commit 0972c333b4de0a53a5bfb9731d558965e0010f7d +Subproject commit 0f94a10f471263929ba19df780a76083f14cffdf diff --git a/dpf b/dpf index dba284c..c21bc7d 160000 --- a/dpf +++ b/dpf @@ -1 +1 @@ -Subproject commit dba284c267c74b12338a576c609885553c19552e +Subproject commit c21bc7da9d52beab7d9eea540a03320b32e7e499 diff --git a/src/CardinalPlugin.cpp b/src/CardinalPlugin.cpp index 7b51812..0511cb7 100644 --- a/src/CardinalPlugin.cpp +++ b/src/CardinalPlugin.cpp @@ -635,6 +635,11 @@ protected: void initAudioPort(const bool input, uint32_t index, AudioPort& port) override { + #if CARDINAL_VARIANT_FX || CARDINAL_VARIANT_SYNTH + if (index < 2) + port.groupId = kPortGroupStereo; + #endif + if (index >= 8) { port.hints = kAudioPortIsCV | kCVPortHasPositiveUnipolarRange | kCVPortHasScaledRange;