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/mixer/defs.h | |
parent | a9223ae601c45c6bdc3c3001ce7b5f30141046b1 (diff) |
Allow using a variable channel stride for MixRowSamples
Diffstat (limited to 'alc/mixer/defs.h')
-rw-r--r-- | alc/mixer/defs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/mixer/defs.h b/alc/mixer/defs.h index 55de2e67..19fb42d0 100644 --- a/alc/mixer/defs.h +++ b/alc/mixer/defs.h @@ -32,7 +32,7 @@ const ALfloat *Resample_(const InterpState *state, const ALfloat *RESTRICT src, template<InstSetType InstTag> void Mix_(const ALfloat *data, const al::span<FloatBufferLine> OutBuffer, ALfloat *CurrentGains, const ALfloat *TargetGains, const ALsizei Counter, const ALsizei OutPos, const ALsizei BufferSize); template<InstSetType InstTag> -void MixRow_(ALfloat *OutBuffer, const ALfloat *Gains, const al::span<const FloatBufferLine> InSamples, const ALsizei InPos, const ALsizei BufferSize); +void MixRow_(ALfloat *OutBuffer, const al::span<const ALfloat> Gains, const ALfloat *InSamples, const ALsizei InStride, const ALsizei BufferSize); template<InstSetType InstTag> void MixHrtf_(FloatBufferLine &LeftOut, FloatBufferLine &RightOut, const ALfloat *InSamples, float2 *AccumSamples, const ALsizei OutPos, const ALsizei IrSize, MixHrtfFilter *hrtfparams, const ALsizei BufferSize); |