From 86d4a77e62857205586caf95580980f29e06eb9f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 11 Mar 2023 17:03:51 -0800 Subject: Rename some struct members for clarity --- al/effects/pshifter.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'al/effects/pshifter.cpp') 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(props_.mPitchShifter.lCoarseTune); - al_effect_props_.Pshifter.FineTune = static_cast(props_.mPitchShifter.lFineTune); + mAlProps.Pshifter.CoarseTune = static_cast(mEaxProps.mPitchShifter.lCoarseTune); + mAlProps.Pshifter.FineTune = static_cast(mEaxProps.mPitchShifter.lFineTune); return true; } -- cgit v1.2.3