diff options
author | Chris Robinson <[email protected]> | 2019-07-03 22:59:29 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-07-03 22:59:29 -0700 |
commit | 9a51ca0a782764c97c5c393b799ff76b7b6fb75f (patch) | |
tree | c71351893f172c282918a9ca9262a95a2b038d72 /Alc/alu.cpp | |
parent | 0a0704071a74bb2350bc2735c0b7c554e2bf3a9a (diff) |
Pass a span to BFormatDec::process
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r-- | Alc/alu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp index 094f0dc6..b57a304d 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -147,7 +147,7 @@ void ProcessHrtf(ALCdevice *device, const ALsizei SamplesToDo) void ProcessAmbiDec(ALCdevice *device, const ALsizei SamplesToDo) { BFormatDec *ambidec{device->AmbiDecoder.get()}; - ambidec->process(device->RealOut.Buffer, device->RealOut.NumChannels, device->Dry.Buffer, + ambidec->process({device->RealOut.Buffer, device->RealOut.NumChannels}, device->Dry.Buffer, SamplesToDo); } @@ -168,7 +168,7 @@ void ProcessBs2b(ALCdevice *device, const ALsizei SamplesToDo) { /* First, decode the ambisonic mix to the "real" output. */ BFormatDec *ambidec{device->AmbiDecoder.get()}; - ambidec->process(device->RealOut.Buffer, device->RealOut.NumChannels, device->Dry.Buffer, + ambidec->process({device->RealOut.Buffer, device->RealOut.NumChannels}, device->Dry.Buffer, SamplesToDo); /* BS2B is stereo output only. */ |