aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/modulator.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/modulator.cpp
parent5b3c27ea587d84c2a49150b032f5d4dec5eb50b9 (diff)
Add a type indicator to EaxEffectProps
Diffstat (limited to 'al/effects/modulator.cpp')
-rw-r--r--al/effects/modulator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/effects/modulator.cpp b/al/effects/modulator.cpp
index a6a443f8..f1d01ddc 100644
--- a/al/effects/modulator.cpp
+++ b/al/effects/modulator.cpp
@@ -219,6 +219,7 @@ EaxRingModulatorEffect::EaxRingModulatorEffect(int eax_version)
void EaxRingModulatorEffect::set_defaults(Props4& props)
{
+ props.mType = EaxEffectType::Modulator;
props.mModulator.flFrequency = EAXRINGMODULATOR_DEFAULTFREQUENCY;
props.mModulator.flHighPassCutOff = EAXRINGMODULATOR_DEFAULTHIGHPASSCUTOFF;
props.mModulator.ulWaveform = EAXRINGMODULATOR_DEFAULTWAVEFORM;