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:
parent
5b65b33280
commit
1adcc26ca6
1 changed files with 8 additions and 0 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue