aboutsummaryrefslogtreecommitdiffstats
path: root/al/effects/pshifter.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-03-11 17:03:51 -0800
committerChris Robinson <[email protected]>2023-03-11 17:03:51 -0800
commit86d4a77e62857205586caf95580980f29e06eb9f (patch)
tree108359e7f948fdba9a0bd825f6c67eabccb1fe06 /al/effects/pshifter.cpp
parent028e7eff52a4d0b7b7c023832d2792bb56fef0d1 (diff)
Rename some struct members for clarity
Diffstat (limited to 'al/effects/pshifter.cpp')
-rw-r--r--al/effects/pshifter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/al/effects/pshifter.cpp b/al/effects/pshifter.cpp
index 53115edb..7c9f0b0e 100644
--- a/al/effects/pshifter.cpp
+++ b/al/effects/pshifter.cpp
@@ -141,16 +141,16 @@ template<>
template<>
bool PitchShifterCommitter::commit(const EaxEffectProps &props)
{
- const auto orig = props_;
- props_ = props;
+ const auto orig = mEaxProps;
+ mEaxProps = props;
- if(orig.mType == props_.mType
- && props_.mPitchShifter.lCoarseTune == props.mPitchShifter.lCoarseTune
- && props_.mPitchShifter.lFineTune == props.mPitchShifter.lFineTune)
+ if(orig.mType == mEaxProps.mType
+ && mEaxProps.mPitchShifter.lCoarseTune == props.mPitchShifter.lCoarseTune
+ && mEaxProps.mPitchShifter.lFineTune == props.mPitchShifter.lFineTune)
return false;
- al_effect_props_.Pshifter.CoarseTune = static_cast<ALint>(props_.mPitchShifter.lCoarseTune);
- al_effect_props_.Pshifter.FineTune = static_cast<ALint>(props_.mPitchShifter.lFineTune);
+ mAlProps.Pshifter.CoarseTune = static_cast<ALint>(mEaxProps.mPitchShifter.lCoarseTune);
+ mAlProps.Pshifter.FineTune = static_cast<ALint>(mEaxProps.mPitchShifter.lFineTune);
return true;
}