1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

VST3: Fixed an issue with non-contiguous IO buses

This commit is contained in:
Tom Poole 2019-11-29 10:59:28 +00:00
parent 5b65b33280
commit 1adcc26ca6

View file

@ -2570,6 +2570,10 @@ private:
for (int bus = 0; bus < n && totalOutputChans < plugInOutputChannels; ++bus)
{
if (auto* busObject = pluginInstance->getBus (false, bus))
if (! busObject->isEnabled())
continue;
if (bus < vstOutputs)
{
if (auto** const busChannels = getPointerForAudioBus<FloatType> (data.outputs[bus]))
@ -2611,6 +2615,10 @@ private:
for (int bus = 0; bus < n && totalInputChans < plugInInputChannels; ++bus)
{
if (auto* busObject = pluginInstance->getBus (true, bus))
if (! busObject->isEnabled())
continue;
if (bus < vstInputs)
{
if (auto** const busChannels = getPointerForAudioBus<FloatType> (data.inputs[bus]))