diff options
author | Chris Robinson <[email protected]> | 2019-08-19 08:02:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-19 08:02:08 -0700 |
commit | 2d0568c0484fa5abc74b084c094a325adb0bc452 (patch) | |
tree | f89b04a772ef98625bdd8cb67ebcb4ef992e0819 /alc/alu.h | |
parent | a9223ae601c45c6bdc3c3001ce7b5f30141046b1 (diff) |
Allow using a variable channel stride for MixRowSamples
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |