mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
VST3 Host: Avoid reading from non-existent buses
This commit is contained in:
parent
3d09a98826
commit
d073a7e8ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue