summaryrefslogtreecommitdiff
path: root/libs/audiographer/src/general/normalizer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/audiographer/src/general/normalizer.cc')
-rw-r--r--libs/audiographer/src/general/normalizer.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/audiographer/src/general/normalizer.cc b/libs/audiographer/src/general/normalizer.cc
index 5497c2ab14..d241d71892 100644
--- a/libs/audiographer/src/general/normalizer.cc
+++ b/libs/audiographer/src/general/normalizer.cc
@@ -30,7 +30,7 @@ Normalizer::Normalizer (float target_dB)
{
target = pow (10.0f, target_dB * 0.05f);
}
-
+
Normalizer::~Normalizer()
{
delete [] buffer;
@@ -66,12 +66,12 @@ void Normalizer::process (ProcessContext<float> const & c)
if (throw_level (ThrowProcess) && c.frames() > buffer_size) {
throw Exception (*this, "Too many frames given to process()");
}
-
+
if (enabled) {
memcpy (buffer, c.data(), c.frames() * sizeof(float));
Routines::apply_gain_to_buffer (buffer, c.frames(), gain);
}
-
+
ProcessContext<float> c_out (c, buffer);
ListedSource<float>::output (c_out);
}