aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-20 04:16:44 -0700
committerChris Robinson <[email protected]>2019-08-20 04:16:44 -0700
commit102ef6cb3356ef81e2a392d3aa8bd6324eb3ff30 (patch)
tree2f661c63be78c7f611665b2fb5a29ff58813b543 /alc/alu.h
parent4883091f5de278b7469790efa466df5d93d465b0 (diff)
Pass a span for the Mix function's input
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/alu.h b/alc/alu.h
index eba9ee0e..9765e113 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -314,9 +314,9 @@ struct ALvoice {
};
-using MixerFunc = void(*)(const ALfloat *InSamples, const al::span<FloatBufferLine> OutBuffer,
- ALfloat *CurrentGains, const ALfloat *TargetGains, const ALsizei Counter, const ALsizei OutPos,
- const ALsizei BufferSize);
+using MixerFunc = void(*)(const al::span<const float> InSamples,
+ const al::span<FloatBufferLine> OutBuffer, float *CurrentGains, const float *TargetGains,
+ const ALsizei Counter, const ALsizei OutPos);
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,