1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix whitespace issue

This commit is contained in:
hogliux 2016-02-03 13:59:11 +00:00
parent fa1ad90386
commit a4cbdc8fa3

View file

@ -22,7 +22,7 @@ public:
// add single side-chain bus
busArrangement.inputBuses. add (AudioProcessorBus ("Sidechain In", AudioChannelSet::stereo()));
busArrangement.outputBuses.add (AudioProcessorBus ("Sidechain Out", AudioChannelSet::stereo()));
busArrangement.outputBuses.add (AudioProcessorBus ("Sidechain Out", AudioChannelSet::stereo()));
}
~NoiseGate() {}
@ -35,8 +35,8 @@ public:
// do not allow disabling channels
if (numChannels == 0) return false;
// only allow stereo on the side-chain bus
if (busIndex == 1 && numChannels != 2) return false;
// only allow stereo on the side-chain bus
if (busIndex == 1 && numChannels != 2) return false;
// always have the same channel layout on both input and output on the main bus
if (! AudioProcessor::setPreferredBusArrangement (! isInputBus, busIndex, preferred))