Skip to content

Commit 92f025b

Browse files
committed
Clean up whitespaces.
1 parent 190c30a commit 92f025b

File tree

14 files changed

+28
-28
lines changed

14 files changed

+28
-28
lines changed

Source/aeolus/addsynth.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,12 @@ void N_func::clearValue(int idx)
107107
const float d = _v [j];
108108

109109
while (j < N_NOTES - 1)
110-
_v [++j] = d;
110+
_v [++j] = d;
111111
} else if (k < N_NOTES) {
112112
const float d = _v [k];
113113

114114
while (k > 0)
115-
_v [--k] = d;
115+
_v [--k] = d;
116116
}
117117
}
118118

@@ -611,7 +611,7 @@ void Model::loadExternalPipes()
611611
File configFile{ aeolus::getCustomOrganConfigFile() };
612612
const String configFileName{ configFile.getFileName() };
613613
File configFolder{ configFile.getParentDirectory() };
614-
614+
615615
if (!configFolder.exists())
616616
return;
617617

Source/aeolus/addsynth.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ AEOLUS_NAMESPACE_BEGIN
2929

3030
/**
3131
* @brief Interpolated per-note look-up table.
32-
*
32+
*
3333
* This class stores a float parameter across the
3434
* N_NOTES points. Notes in between get interpolated linearly.
3535
*/
@@ -61,7 +61,7 @@ class N_func final
6161

6262
/**
6363
* @brief Interpolated per-note look-up table for harmonics.
64-
*
64+
*
6565
* This class keeps a per-note LUT for each of the N_HARM harmonics.
6666
*/
6767
class HN_func final
@@ -176,7 +176,7 @@ class Addsynth final
176176

177177
/**
178178
* @brief A collection of all available stops.
179-
*
179+
*
180180
* This class holds a collection of all available stops.
181181
* These stops models are shared among all the plugin instances.
182182
*/

Source/aeolus/audioparam.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class AudioParameter
3636
float min = 0.0f,
3737
float max = 1.0f,
3838
float smooth = 0.5f);
39-
39+
4040
void setName(const juce::String& n) { _paramName = n; }
4141
const juce::String& name() const noexcept { return _paramName; }
4242
void setValue(float v, float s, bool force = false);

Source/aeolus/dsp/adsrenv.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class Envelope
4949
{
5050
float attack = 0.0f;
5151
float decay = 0.0f;
52-
float sustain = 1.0f;
52+
float sustain = 1.0f;
5353
float release = 1.0f;
5454
};
5555

Source/aeolus/dsp/convolve.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ class EquallyPartitionedConvolver final
393393
irInputBlockIndex = 0;
394394

395395
size_t preconvolveIndex = 0;
396-
const size_t preconvolveIndexStep = blocks.empty() ? 0 : Length / blocks.size();
396+
const size_t preconvolveIndexStep = blocks.empty() ? 0 : Length / blocks.size();
397397

398398
for (size_t i = 0; i < blocks.size(); ++i) {
399399
blocks[i].inputSpectrumPtr = &inputSpectrumBuffer[i * Length4];

Source/aeolus/dsp/convolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ struct Convolver::Impl
167167
void setIR(const AudioBuffer<float>& buffer)
168168
{
169169
ir = buffer;
170-
170+
171171
// Reset the convolver to the initial state
172172
irSamplesRead = 0;
173173
framesProcessed = 0;

Source/aeolus/dsp/interpolator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace dsp {
2929

3030
/**
3131
* @brief Lagrange interpolator.
32-
*
32+
*
3333
* @note This class does not apply an interpolation filter when downsampling.
3434
*/
3535
class Interpolator

Source/aeolus/dsp/spatial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ namespace dsp {
2929

3030
/**
3131
* @brief Sound source spatial modeller.
32-
*
32+
*
3333
* This class take mono audio source and models a stereo output
3434
* based on the source and listener relative positions.
3535
* All positioning is performed in 2D space. Positions are specified in meters.

Source/aeolus/memory.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct AlignedMemory
5353

5454
//Calculate the offset and store it behind our aligned pointer
5555
*((offset_t *)ptr - 1) = (offset_t) ((uintptr_t)ptr - (uintptr_t)p);
56-
}
56+
}
5757
}
5858

5959
return ptr;

Source/aeolus/rankwave.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ void Pipewave::play(Pipewave::State& state, float* out)
102102

103103
if (r != nullptr) {
104104
int k = SUB_FRAME_LENGTH;
105-
float* q = out;
105+
float* q = out;
106106
float g = state.releaseGain;
107107
int i = state.releaseCount - 1;
108108

109-
float dg = g / SUB_FRAME_LENGTH;
109+
float dg = g / SUB_FRAME_LENGTH;
110110

111111
if (i > 0)
112112
dg *= _releaseMultiplier;
@@ -154,7 +154,7 @@ void Pipewave::play(Pipewave::State& state, float* out)
154154
}
155155
}
156156

157-
if (p != nullptr) {
157+
if (p != nullptr) {
158158
int k = SUB_FRAME_LENGTH;
159159
float* q = out;
160160

@@ -264,7 +264,7 @@ void Pipewave::genwave()
264264
memset(_attackStartPtr, 0, sizeof(float) * _wavetable.size());
265265

266266
_releaseLength = (int)(ceilf (_model.getNoteRelease(_note) * _sampleRate / SUB_FRAME_LENGTH) + 1);
267-
_releaseMultiplier = 1.0f - powf (0.1f, 1.0f / _releaseLength);
267+
_releaseMultiplier = 1.0f - powf (0.1f, 1.0f / _releaseLength);
268268
_releaseDetune = _sampleStep * (math::exp2ap (_model.getNoteReleaseDetune(_note) / 1200.0f) - 1.0f);
269269
_instability = _model.getNoteInstability(_note);
270270

@@ -361,8 +361,8 @@ void Pipewave::looplen(float f, float sampleRate, int lmax, int& aa, int& bb)
361361
} else {
362362
b = (int)(lmax * f / sampleRate);
363363
a = (int)(b * sampleRate / f + 0.5f);
364-
d = sampleRate * b / a - f;
365-
break;
364+
d = sampleRate * b / a - f;
365+
break;
366366
}
367367
}
368368

0 commit comments

Comments
 (0)