aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/distortion.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-03-09 21:29:53 -0800
committerChris Robinson <[email protected]>2023-03-09 21:29:53 -0800
commit1ea8f7a9a1f1ec74bb162a704283f8e3c3ede96d (patch)
tree0251dfec1048d2c0c89bf5f91c76c3d5127cde8b /al/effects/distortion.cpp
parent5b3c27ea587d84c2a49150b032f5d4dec5eb50b9 (diff)
Add a type indicator to EaxEffectProps
Diffstat (limited to 'al/effects/distortion.cpp')
-rw-r--r--al/effects/distortion.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/effects/distortion.cpp b/al/effects/distortion.cpp
index f6f94775..5f1206ab 100644
--- a/al/effects/distortion.cpp
+++ b/al/effects/distortion.cpp
@@ -222,6 +222,7 @@ EaxDistortionEffect::EaxDistortionEffect(int eax_version)
void EaxDistortionEffect::set_defaults(Props4& props)
{
+ props.mType = EaxEffectType::Distortion;
props.mDistortion.flEdge = EAXDISTORTION_DEFAULTEDGE;
props.mDistortion.lGain = EAXDISTORTION_DEFAULTGAIN;
props.mDistortion.flLowPassCutOff = EAXDISTORTION_DEFAULTLOWPASSCUTOFF;