diff options
author | Chris Robinson <[email protected]> | 2019-12-25 21:48:58 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-12-25 21:48:58 -0800 |
commit | 3b3d3d3a03c3f39e758b3b9b41649b86314eb413 (patch) | |
tree | ac65877d89e9fc97b79ac0fcd83a290d825f4247 /alc/effects | |
parent | 06b7c63cef00a9641e7e36d972fdc3c0c78ca4b8 (diff) |
Use a span for the band-splitter input
Diffstat (limited to 'alc/effects')
-rw-r--r-- | alc/effects/reverb.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/effects/reverb.cpp b/alc/effects/reverb.cpp index c8ebba68..727c8352 100644 --- a/alc/effects/reverb.cpp +++ b/alc/effects/reverb.cpp @@ -448,7 +448,7 @@ struct ReverbState final : public EffectState { * higher-order output. */ const ALfloat hfscale{(c==0) ? mOrderScales[0] : mOrderScales[1]}; - mAmbiSplitter[0][c].applyHfScale(tmpspan.data(), hfscale, todo); + mAmbiSplitter[0][c].applyHfScale(tmpspan, hfscale); MixSamples(tmpspan, samplesOut, mEarly.CurrentGain[c], mEarly.PanGain[c], counter, offset); @@ -460,7 +460,7 @@ struct ReverbState final : public EffectState { mLateSamples[0].size()); const ALfloat hfscale{(c==0) ? mOrderScales[0] : mOrderScales[1]}; - mAmbiSplitter[1][c].applyHfScale(tmpspan.data(), hfscale, todo); + mAmbiSplitter[1][c].applyHfScale(tmpspan, hfscale); MixSamples(tmpspan, samplesOut, mLate.CurrentGain[c], mLate.PanGain[c], counter, offset); |