diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-26 00:35:53 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-09-26 00:35:53 +0200 |
commit | 984aa95cd6fa5eab5c9d21dfc0453df8a12a6fe3 (patch) | |
tree | 3b27304e7e6a64e0eb4e217ebc8437d124b28db3 | |
parent | 9f117b68d355c2b8f86f6ad1302f83a2005541f6 (diff) |
effects/builtin/flangereffect: Optimize gain correction constant
-rw-r--r-- | src/effects/builtin/flangereffect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/builtin/flangereffect.cpp b/src/effects/builtin/flangereffect.cpp index 1211098b46..4e32ed0cad 100644 --- a/src/effects/builtin/flangereffect.cpp +++ b/src/effects/builtin/flangereffect.cpp @@ -7,7 +7,7 @@ namespace{ // Gain correction was verified with replay gain and default parameters -constexpr CSAMPLE kGainCorrection = 1.4125375446227544f; // 3 dB +constexpr CSAMPLE kGainCorrection = 1.41253754f; // 3 dB inline CSAMPLE tanh_approx(CSAMPLE input) { // return tanhf(input); // 142ns for process; |