aboutsummaryrefslogtreecommitdiffstats
path: root/alc/bformatdec.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-18 03:55:09 -0700
committerChris Robinson <[email protected]>2019-08-18 15:15:56 -0700
commit4f4ef3a41015cfc499afc1d3101f2e99d29ebb9e (patch)
treee89de9b09cb3afc9a6d3eee427b57873259502a5 /alc/bformatdec.cpp
parent6750907bddc96e8552f16c6ba88ddcc18d4d9236 (diff)
Don't require MixRow's output to be a FloatBufferLine
Diffstat (limited to 'alc/bformatdec.cpp')
-rw-r--r--alc/bformatdec.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/bformatdec.cpp b/alc/bformatdec.cpp
index 98ef58cb..a241cc93 100644
--- a/alc/bformatdec.cpp
+++ b/alc/bformatdec.cpp
@@ -164,8 +164,8 @@ void BFormatDec::process(const al::span<FloatBufferLine> OutBuffer,
{
if LIKELY(enabled&1)
{
- MixRowSamples(outbuf, (*mixmtx)[sHFBand], hfsamples, 0, SamplesToDo);
- MixRowSamples(outbuf, (*mixmtx)[sLFBand], lfsamples, 0, SamplesToDo);
+ MixRowSamples(outbuf.data(), (*mixmtx)[sHFBand], hfsamples, 0, SamplesToDo);
+ MixRowSamples(outbuf.data(), (*mixmtx)[sLFBand], lfsamples, 0, SamplesToDo);
}
++mixmtx;
enabled >>= 1;
@@ -179,7 +179,7 @@ void BFormatDec::process(const al::span<FloatBufferLine> OutBuffer,
for(FloatBufferLine &outbuf : OutBuffer)
{
if LIKELY(enabled&1)
- MixRowSamples(outbuf, *mixmtx, insamples, 0, SamplesToDo);
+ MixRowSamples(outbuf.data(), *mixmtx, insamples, 0, SamplesToDo);
++mixmtx;
enabled >>= 1;
}