aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bformatdec.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-12-25 21:48:58 -0800
committerChris Robinson <[email protected]>2019-12-25 21:48:58 -0800
commit3b3d3d3a03c3f39e758b3b9b41649b86314eb413 (patch)
treeac65877d89e9fc97b79ac0fcd83a290d825f4247 /alc/bformatdec.cpp
parent06b7c63cef00a9641e7e36d972fdc3c0c78ca4b8 (diff)
Use a span for the band-splitter input
Diffstat (limited to 'alc/bformatdec.cpp')
-rw-r--r--alc/bformatdec.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/bformatdec.cpp b/alc/bformatdec.cpp
index 9fbe32b8..a9510574 100644
--- a/alc/bformatdec.cpp
+++ b/alc/bformatdec.cpp
@@ -152,8 +152,8 @@ void BFormatDec::process(const al::span<FloatBufferLine> OutBuffer,
if(mDualBand)
{
for(ALuint i{0};i < mNumChannels;i++)
- mXOver[i].process(mSamplesHF[i].data(), mSamplesLF[i].data(), InSamples[i].data(),
- SamplesToDo);
+ mXOver[i].process({InSamples[i].data(), SamplesToDo}, mSamplesHF[i].data(),
+ mSamplesLF[i].data());
ALfloat (*mixmtx)[sNumBands][MAX_AMBI_CHANNELS]{mMatrix.Dual};
ALuint enabled{mEnabled};