mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Merge 0cdd46561e into 270063ac31
This commit is contained in:
commit
ea671258a6
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ bool AudioProcessor::setChannelLayoutOfBus (bool isInputBus, int busIndex, const
|
|||
{
|
||||
auto layouts = bus->getBusesLayoutForLayoutChangeOfBus (layout);
|
||||
|
||||
if (layouts.getChannelSet (isInputBus, busIndex) == layout)
|
||||
if (layouts.getChannelSet (isInputBus, busIndex) == layout || layout.isDisabled())
|
||||
return applyBusLayouts (layouts);
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue