Fix build, set vst3 speaker arrangements on fx and synth variants

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-05-25 16:17:46 +01:00
parent 9c9276ac68
commit 06c1d62dd9
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
3 changed files with 7 additions and 2 deletions

View file

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