diff options
author | Chris Robinson <[email protected]> | 2019-08-20 08:46:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-08-20 08:46:12 -0700 |
commit | 0961f4eb00782df66e3ada75b4055b44a28240f3 (patch) | |
tree | c5dbf85dd50f5ff39c5c4857b24dca4d6582d3e6 /alc/mixer/defs.h | |
parent | ce76cc144142a065e2702bd57f4358929c38d1bc (diff) |
Pass a span to the Resample function
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 9d4fd063..bdb208c4 100644 --- a/alc/mixer/defs.h +++ b/alc/mixer/defs.h @@ -27,7 +27,7 @@ enum ResampleType { }; template<ResampleType TypeTag, InstSetType InstTag> -const ALfloat *Resample_(const InterpState *state, const ALfloat *RESTRICT src, ALsizei frac, ALint increment, ALfloat *RESTRICT dst, ALsizei dstlen); +const ALfloat *Resample_(const InterpState *state, const ALfloat *RESTRICT src, ALsizei frac, ALint increment, const al::span<float> dst); template<InstSetType InstTag> void Mix_(const al::span<const float> InSamples, const al::span<FloatBufferLine> OutBuffer, |