aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/distortion.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-10-21 16:39:21 -0700
committerChris Robinson <[email protected]>2020-10-21 16:39:21 -0700
commit3e62600ecc3c2f1be4da0d3e8166f5c67cc25fed (patch)
treea33bb31c8c8d53f96a2112c7f8edb91a190df5e6 /alc/effects/distortion.cpp
parentb8f5e1f4247e8a1d1ebdbe39dad6b235d6d50daa (diff)
Replace some more macros with constexpr variables
Diffstat (limited to 'alc/effects/distortion.cpp')
-rw-r--r--alc/effects/distortion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/effects/distortion.cpp b/alc/effects/distortion.cpp
index 93f0e006..be787b78 100644
--- a/alc/effects/distortion.cpp
+++ b/alc/effects/distortion.cpp
@@ -139,7 +139,7 @@ void DistortionState::process(const size_t samplesToDo, const al::span<const Flo
* storing only one sample out of four.
*/
const float gain{*(outgains++)};
- if(!(std::fabs(gain) > GAIN_SILENCE_THRESHOLD))
+ if(!(std::fabs(gain) > GainSilenceThreshold))
continue;
for(size_t i{0u};i < todo;i++)