mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
VST3 Client: Ensure main buses are enabled by default when using PreferredChannelConfigurations
This commit is contained in:
parent
712b14a272
commit
75922cac38
1 changed files with 5 additions and 0 deletions
|
|
@ -2669,7 +2669,12 @@ public:
|
|||
info.busType = (index == 0 ? Vst::kMain : Vst::kAux);
|
||||
#endif
|
||||
|
||||
#ifdef JucePlugin_PreferredChannelConfigurations
|
||||
info.flags = Vst::BusInfo::kDefaultActive;
|
||||
#else
|
||||
info.flags = (bus->isEnabledByDefault()) ? Vst::BusInfo::kDefaultActive : 0;
|
||||
#endif
|
||||
|
||||
return kResultTrue;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue