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/mixer/mixer_sse.cpp | |
parent | d0f0a5fdca87f74ef46ad26cb79975e1c6cda8f0 (diff) |
Pass a span to MixDirectHrtf instead of a pointer+size
Diffstat (limited to 'Alc/mixer/mixer_sse.cpp')
-rw-r--r-- | Alc/mixer/mixer_sse.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Alc/mixer/mixer_sse.cpp b/Alc/mixer/mixer_sse.cpp index a4e80256..156b3dab 100644 --- a/Alc/mixer/mixer_sse.cpp +++ b/Alc/mixer/mixer_sse.cpp @@ -139,11 +139,10 @@ void MixHrtfBlend_<SSETag>(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, template<> void MixDirectHrtf_<SSETag>(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, - const FloatBufferLine *InSamples, float2 *AccumSamples, DirectHrtfState *State, - const ALsizei NumChans, const ALsizei BufferSize) + const al::span<const FloatBufferLine> InSamples, float2 *AccumSamples, DirectHrtfState *State, + const ALsizei BufferSize) { - MixDirectHrtfBase<ApplyCoeffs>(LeftOut, RightOut, InSamples, AccumSamples, State, NumChans, - BufferSize); + MixDirectHrtfBase<ApplyCoeffs>(LeftOut, RightOut, InSamples, AccumSamples, State, BufferSize); } |