1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VST3: Fix bad value returned from setBusArrangements() (false == kResultTrue) when in/out bus counts are mismatching

This commit is contained in:
martin@ncore.li 2023-01-26 15:35:39 +01:00 committed by reuk
parent 10baaa420b
commit f7a28a6d62
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C

View file

@ -3285,7 +3285,7 @@ public:
auto numOutputBuses = pluginInstance->getBusCount (false);
if (numIns > numInputBuses || numOuts > numOutputBuses)
return false;
return kResultFalse;
// see the following documentation to understand the correct way to react to this callback
// https://steinbergmedia.github.io/vst3_doc/vstinterfaces/classSteinberg_1_1Vst_1_1IAudioProcessor.html#ad3bc7bac3fd3b194122669be2a1ecc42