diff options
author | Chris Robinson <[email protected]> | 2019-08-20 00:27:28 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-20 00:27:28 -0700 |
commit | 8fd90334a13608a781e36fc830cd79bf746edd42 (patch) | |
tree | cefd2023a67138e29db07a32d114dd1ed5a00b9a /alc/alu.h | |
parent | 34a61122f64d6295f50508cc6945350a5be04924 (diff) |
Pass the MixRow buffer size as a span
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |