]> git.sesse.net Git - nageru/commitdiff
Correct a dB comment.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Nov 2015 22:32:25 +0000 (23:32 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 8 Nov 2015 22:32:25 +0000 (23:32 +0100)
mixer.cpp

index a91b3d8cc843c556dd376946eb05be9988e78e3a..d4678b68193638d142b6b9c87f8e86271bc9ccc1 100644 (file)
--- a/mixer.cpp
+++ b/mixer.cpp
@@ -591,7 +591,7 @@ void Mixer::process_audio_one_frame()
                float ratio = 20.0f;
                float attack_time = 0.005f;
                float release_time = 0.040f;
-               float makeup_gain = 2.0f;  // +3 dB.
+               float makeup_gain = 2.0f;  // +6 dB.
                compressor.process(samples_out.data(), samples_out.size() / 2, threshold, ratio, attack_time, release_time, makeup_gain);
 //             compressor_att = compressor.get_attenuation();
        }