1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-09 23:34:20 +00:00

Examples: Ensured that the MultiOutSynth example accepts disabled aux busses

This commit is contained in:
hogliux 2022-10-24 15:13:52 +02:00
parent 11bd36b3ce
commit e12e0bb4fe

View file

@ -156,7 +156,7 @@ public:
&& 1 <= outputs.size()
&& std::all_of (outputs.begin(), outputs.end(), [] (const auto& bus)
{
return bus == AudioChannelSet::stereo();
return bus.isDisabled() || bus == AudioChannelSet::stereo();
});
}