Browse Source

Fix whitespace issue

tags/2021-05-28
hogliux 10 years ago
parent
commit
a4cbdc8fa3
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      examples/PlugInSamples/NoiseGate/Source/NoiseGate.cpp

+ 3
- 3
examples/PlugInSamples/NoiseGate/Source/NoiseGate.cpp 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))


Loading…
Cancel
Save