Browse Source

VST3 Host: Avoid reading from non-existent buses

v7.0.9
reuk 3 years ago
parent
commit
d073a7e8ca
No known key found for this signature in database GPG Key ID: FCB43929F012EE5C
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp

+ 1
- 1
modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp View File

@@ -2743,7 +2743,7 @@ public:
{
const auto& requested = layouts.getChannelSet (isInput, i);
if (const auto arr = getVst3SpeakerArrangement (requested.isDisabled() ? getBus (true, i)->getLastEnabledLayout() : requested))
if (const auto arr = getVst3SpeakerArrangement (requested.isDisabled() ? getBus (isInput, i)->getLastEnabledLayout() : requested))
result.push_back (*arr);
else
return {};


Loading…
Cancel
Save