aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer/defs.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-02-06 14:39:30 -0800
committerChris Robinson <[email protected]>2021-02-06 14:39:30 -0800
commitdfe627133c1d018748bd66ad1f8c72945448a34a (patch)
treee1b13de1178629836538ccec8e573dc0b67227cc /core/mixer/defs.h
parent72c4dd4d10659fb0e3fa973e68f399c6b34d4b99 (diff)
Use spans instead of references to arrays
Diffstat (limited to 'core/mixer/defs.h')
-rw-r--r--core/mixer/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mixer/defs.h b/core/mixer/defs.h
index acf60350..e8e7be6c 100644
--- a/core/mixer/defs.h
+++ b/core/mixer/defs.h
@@ -80,7 +80,7 @@ template<typename InstTag>
void MixHrtfBlend_(const float *InSamples, float2 *AccumSamples, const uint IrSize,
const HrtfFilter *oldparams, const MixHrtfFilter *newparams, const size_t BufferSize);
template<typename InstTag>
-void MixDirectHrtf_(FloatBufferLine &LeftOut, FloatBufferLine &RightOut,
+void MixDirectHrtf_(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);