]> git.sesse.net Git - nageru/blobdiff - mixer.h
Tweak the limiter by ear; increase the headroom so it does not trigger as often ...
[nageru] / mixer.h
diff --git a/mixer.h b/mixer.h
index 64a74e2f13d855d0030a19645cdadf95956b9558..252f961f7668cbf4ceaeab2364bf2196c799131d 100644 (file)
--- a/mixer.h
+++ b/mixer.h
@@ -257,7 +257,7 @@ private:
        static constexpr float ref_level_dbfs = -14.0f;
 
        StereoCompressor limiter;
-       std::atomic<float> limiter_threshold_dbfs{ref_level_dbfs + 0.0f};   // 0 dB.
+       std::atomic<float> limiter_threshold_dbfs{ref_level_dbfs + 4.0f};   // 4 dB.
        std::atomic<bool> limiter_enabled{true};
        StereoCompressor compressor;
        std::atomic<float> compressor_threshold_dbfs{ref_level_dbfs - 12.0f};  // -12 dB.