diff options
author | Chris Robinson <[email protected]> | 2021-02-06 14:39:30 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-02-06 14:39:30 -0800 |
commit | dfe627133c1d018748bd66ad1f8c72945448a34a (patch) | |
tree | e1b13de1178629836538ccec8e573dc0b67227cc /alc/alu.cpp | |
parent | 72c4dd4d10659fb0e3fa973e68f399c6b34d4b99 (diff) |
Use spans instead of references to arrays
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r-- | alc/alu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<const FloatBufferLine> 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<const FloatBufferLine> InSamples, float2 *AccumSamples, float *TempBuf, + HrtfChannelState *ChanState, const size_t IrSize, const size_t BufferSize); HrtfDirectMixerFunc MixDirectHrtf{MixDirectHrtf_<CTag>}; |