aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/equalizer.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/equalizer.cpp
parent5b3c27ea587d84c2a49150b032f5d4dec5eb50b9 (diff)
Add a type indicator to EaxEffectProps
Diffstat (limited to 'al/effects/equalizer.cpp')
-rw-r--r--al/effects/equalizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/effects/equalizer.cpp b/al/effects/equalizer.cpp
index 7134e188..fa60d8a1 100644
--- a/al/effects/equalizer.cpp
+++ b/al/effects/equalizer.cpp
@@ -342,6 +342,7 @@ EaxEqualizerEffect::EaxEqualizerEffect(int eax_version)
void EaxEqualizerEffect::set_defaults(Props4& props)
{
+ props.mType = EaxEffectType::Equalizer;
props.mEqualizer.lLowGain = EAXEQUALIZER_DEFAULTLOWGAIN;
props.mEqualizer.flLowCutOff = EAXEQUALIZER_DEFAULTLOWCUTOFF;
props.mEqualizer.lMid1Gain = EAXEQUALIZER_DEFAULTMID1GAIN;