diff options
author | Chris Robinson <[email protected]> | 2019-08-20 04:16:44 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-20 04:16:44 -0700 |
commit | 102ef6cb3356ef81e2a392d3aa8bd6324eb3ff30 (patch) | |
tree | 2f661c63be78c7f611665b2fb5a29ff58813b543 /alc/mixer/defs.h | |
parent | 4883091f5de278b7469790efa466df5d93d465b0 (diff) |
Pass a span for the Mix function's input
Diffstat (limited to 'alc/mixer/defs.h')
-rw-r--r-- | alc/mixer/defs.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/alc/mixer/defs.h b/alc/mixer/defs.h index 1e5e68bb..9d4fd063 100644 --- a/alc/mixer/defs.h +++ b/alc/mixer/defs.h @@ -30,9 +30,8 @@ template<ResampleType TypeTag, InstSetType InstTag> const ALfloat *Resample_(const InterpState *state, const ALfloat *RESTRICT src, ALsizei frac, ALint increment, ALfloat *RESTRICT dst, ALsizei dstlen); template<InstSetType InstTag> -void Mix_(const float *InSamples, const al::span<FloatBufferLine> OutBuffer, float *CurrentGains, - const float *TargetGains, const ALsizei Counter, const ALsizei OutPos, - const ALsizei BufferSize); +void Mix_(const al::span<const float> InSamples, const al::span<FloatBufferLine> OutBuffer, + float *CurrentGains, const float *TargetGains, const ALsizei Counter, const ALsizei OutPos); template<InstSetType InstTag> void MixRow_(const al::span<float> OutBuffer, const al::span<const float> Gains, const float *InSamples, const size_t InStride); |