aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-20 00:27:28 -0700
committerChris Robinson <[email protected]>2019-08-20 00:27:28 -0700
commit8fd90334a13608a781e36fc830cd79bf746edd42 (patch)
treecefd2023a67138e29db07a32d114dd1ed5a00b9a /alc/alu.h
parent34a61122f64d6295f50508cc6945350a5be04924 (diff)
Pass the MixRow buffer size as a span
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/alu.h b/alc/alu.h
index 117c932d..c63e33fd 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -317,8 +317,8 @@ struct ALvoice {
using MixerFunc = void(*)(const ALfloat *data, const al::span<FloatBufferLine> OutBuffer,
ALfloat *CurrentGains, const ALfloat *TargetGains, const ALsizei Counter, const ALsizei OutPos,
const ALsizei BufferSize);
-using RowMixerFunc = void(*)(ALfloat *OutBuffer, const al::span<const ALfloat> Gains,
- const ALfloat *InSamples, const ALsizei InStride, const ALsizei BufferSize);
+using RowMixerFunc = void(*)(const al::span<float> OutBuffer, const al::span<const float> Gains,
+ const float *InSamples, const size_t InStride);
using HrtfMixerFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut,
const ALfloat *InSamples, float2 *AccumSamples, const ALsizei OutPos, const ALsizei IrSize,
MixHrtfFilter *hrtfparams, const ALsizei BufferSize);