aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-19 08:02:08 -0700
committerChris Robinson <[email protected]>2019-08-19 08:02:08 -0700
commit2d0568c0484fa5abc74b084c094a325adb0bc452 (patch)
treef89b04a772ef98625bdd8cb67ebcb4ef992e0819 /alc/alu.h
parenta9223ae601c45c6bdc3c3001ce7b5f30141046b1 (diff)
Allow using a variable channel stride for MixRowSamples
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/alc/alu.h b/alc/alu.h
index 5044f573..117c932d 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -317,9 +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 ALfloat *gains,
- const al::span<const FloatBufferLine> InSamples, const ALsizei InPos,
- const ALsizei BufferSize);
+using RowMixerFunc = void(*)(ALfloat *OutBuffer, const al::span<const ALfloat> Gains,
+ const ALfloat *InSamples, const ALsizei InStride, const ALsizei BufferSize);
using HrtfMixerFunc = void(*)(FloatBufferLine &LeftOut, FloatBufferLine &RightOut,
const ALfloat *InSamples, float2 *AccumSamples, const ALsizei OutPos, const ALsizei IrSize,
MixHrtfFilter *hrtfparams, const ALsizei BufferSize);