aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/fshifter.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/fshifter.cpp
parent5b3c27ea587d84c2a49150b032f5d4dec5eb50b9 (diff)
Add a type indicator to EaxEffectProps
Diffstat (limited to 'al/effects/fshifter.cpp')
-rw-r--r--al/effects/fshifter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/al/effects/fshifter.cpp b/al/effects/fshifter.cpp
index 1a97e339..ae2b4f4e 100644
--- a/al/effects/fshifter.cpp
+++ b/al/effects/fshifter.cpp
@@ -213,6 +213,7 @@ EaxFrequencyShifterEffect::EaxFrequencyShifterEffect(int eax_version)
void EaxFrequencyShifterEffect::set_defaults(Props4& props)
{
+ props.mType = EaxEffectType::FrequencyShifter;
props.mFrequencyShifter.flFrequency = EAXFREQUENCYSHIFTER_DEFAULTFREQUENCY;
props.mFrequencyShifter.ulLeftDirection = EAXFREQUENCYSHIFTER_DEFAULTLEFTDIRECTION;
props.mFrequencyShifter.ulRightDirection = EAXFREQUENCYSHIFTER_DEFAULTRIGHTDIRECTION;