From dfe627133c1d018748bd66ad1f8c72945448a34a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 6 Feb 2021 14:39:30 -0800 Subject: Use spans instead of references to arrays --- alc/alu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'alc/alu.cpp') diff --git a/alc/alu.cpp b/alc/alu.cpp index a29c2833..deffaad1 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -154,9 +154,9 @@ struct ChanMap { float elevation; }; -using HrtfDirectMixerFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, - const al::span InSamples, float2 *AccumSamples, - float *TempBuf, HrtfChannelState *ChanState, const size_t IrSize, const size_t BufferSize); +using HrtfDirectMixerFunc = void(*)(const FloatBufferSpan LeftOut, const FloatBufferSpan RightOut, + const al::span InSamples, float2 *AccumSamples, float *TempBuf, + HrtfChannelState *ChanState, const size_t IrSize, const size_t BufferSize); HrtfDirectMixerFunc MixDirectHrtf{MixDirectHrtf_}; -- cgit v1.2.3