aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--alc/effects/reverb.cpp4
-rw-r--r--alc/filters/splitter.cpp2
-rw-r--r--alc/filters/splitter.h2
-rw-r--r--alc/mixer/hrtfbase.h2
-rw-r--r--alc/voice.cpp2
5 files changed, 6 insertions, 6 deletions
diff --git a/alc/effects/reverb.cpp b/alc/effects/reverb.cpp
index 709668c0..502a4cf2 100644
--- a/alc/effects/reverb.cpp
+++ b/alc/effects/reverb.cpp
@@ -496,7 +496,7 @@ struct ReverbState final : public EffectState {
* higher-order output.
*/
const float hfscale{(c==0) ? mOrderScales[0] : mOrderScales[1]};
- mAmbiSplitter[0][c].applyHfScale(tmpspan, hfscale);
+ mAmbiSplitter[0][c].processHfScale(tmpspan, hfscale);
MixSamples(tmpspan, samplesOut, mEarly.CurrentGain[c], mEarly.PanGain[c], counter,
offset);
@@ -506,7 +506,7 @@ struct ReverbState final : public EffectState {
DoMixRow(tmpspan, A2B[c], mLateSamples[0].data(), mLateSamples[0].size());
const float hfscale{(c==0) ? mOrderScales[0] : mOrderScales[1]};
- mAmbiSplitter[1][c].applyHfScale(tmpspan, hfscale);
+ mAmbiSplitter[1][c].processHfScale(tmpspan, hfscale);
MixSamples(tmpspan, samplesOut, mLate.CurrentGain[c], mLate.PanGain[c], counter,
offset);
diff --git a/alc/filters/splitter.cpp b/alc/filters/splitter.cpp
index e8e01802..5cc670b7 100644
--- a/alc/filters/splitter.cpp
+++ b/alc/filters/splitter.cpp
@@ -61,7 +61,7 @@ void BandSplitterR<Real>::process(const al::span<const Real> input, Real *hpout,
}
template<typename Real>
-void BandSplitterR<Real>::applyHfScale(const al::span<Real> samples, const Real hfscale)
+void BandSplitterR<Real>::processHfScale(const al::span<Real> samples, const Real hfscale)
{
const Real ap_coeff{mCoeff};
const Real lp_coeff{mCoeff*0.5f + 0.5f};
diff --git a/alc/filters/splitter.h b/alc/filters/splitter.h
index d88ef182..18ab4998 100644
--- a/alc/filters/splitter.h
+++ b/alc/filters/splitter.h
@@ -23,7 +23,7 @@ public:
void clear() noexcept { mLpZ1 = mLpZ2 = mApZ1 = 0.0f; }
void process(const al::span<const Real> input, Real *hpout, Real *lpout);
- void applyHfScale(const al::span<Real> samples, const Real hfscale);
+ void processHfScale(const al::span<Real> samples, const Real hfscale);
/* The all-pass portion of the band splitter. Applies the same phase shift
* without splitting the signal. Note that each use of this method is
diff --git a/alc/mixer/hrtfbase.h b/alc/mixer/hrtfbase.h
index eea63efa..80845e2e 100644
--- a/alc/mixer/hrtfbase.h
+++ b/alc/mixer/hrtfbase.h
@@ -119,7 +119,7 @@ inline void MixDirectHrtfBase(FloatBufferLine &LeftOut, FloatBufferLine &RightOu
* which cancels out with the backwards phase shift to get the original
* phase on the split signal.
*/
- chan_iter->mSplitter.applyHfScale(tempbuf, chan_iter->mHfScale);
+ chan_iter->mSplitter.processHfScale(tempbuf, chan_iter->mHfScale);
/* Now apply the HRIR coefficients to this channel. */
const auto &Coeffs = chan_iter->mCoeffs;
diff --git a/alc/voice.cpp b/alc/voice.cpp
index 77f176b7..0e92e423 100644
--- a/alc/voice.cpp
+++ b/alc/voice.cpp
@@ -757,7 +757,7 @@ void Voice::mix(const State vstate, ALCcontext *Context, const ALuint SamplesToD
* unavoidable.
*/
const al::span<float> samples{const_cast<float*>(ResampledData), DstBufferSize};
- chandata.mAmbiSplitter.applyHfScale(samples, hfscale);
+ chandata.mAmbiSplitter.processHfScale(samples, hfscale);
}
/* Now filter and mix to the appropriate outputs. */