diff options
author | Chris Robinson <[email protected]> | 2019-05-29 17:32:16 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-05-29 17:32:16 -0700 |
commit | ba449d2b087f791ad84394c22b4d4ec528da390b (patch) | |
tree | ec077a8dd6e4581ec2965e66d3801fb4cf2fc9c7 /Alc/alu.cpp | |
parent | d0f0a5fdca87f74ef46ad26cb79975e1c6cda8f0 (diff) |
Pass a span to MixDirectHrtf instead of a pointer+size
Diffstat (limited to 'Alc/alu.cpp')
-rw-r--r-- | Alc/alu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/alu.cpp b/Alc/alu.cpp index 9f61be10..ed89f903 100644 --- a/Alc/alu.cpp +++ b/Alc/alu.cpp @@ -134,7 +134,8 @@ void ProcessHrtf(ALCdevice *device, const ALsizei SamplesToDo) DirectHrtfState *state{device->mHrtfState.get()}; MixDirectHrtf(device->RealOut.Buffer[lidx], device->RealOut.Buffer[ridx], - device->Dry.Buffer, device->HrtfAccumData, state, device->Dry.NumChannels, SamplesToDo); + {device->Dry.Buffer,device->Dry.Buffer+device->Dry.NumChannels}, device->HrtfAccumData, + state, SamplesToDo); } void ProcessAmbiDec(ALCdevice *device, const ALsizei SamplesToDo) |