aboutsummaryrefslogtreecommitdiffstats
path: root/alc/mixer/defs.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-08-20 08:46:12 -0700
committerChris Robinson <[email protected]>2019-08-20 08:46:12 -0700
commit0961f4eb00782df66e3ada75b4055b44a28240f3 (patch)
treec5dbf85dd50f5ff39c5c4857b24dca4d6582d3e6 /alc/mixer/defs.h
parentce76cc144142a065e2702bd57f4358929c38d1bc (diff)
Pass a span to the Resample function
Diffstat (limited to 'alc/mixer/defs.h')
-rw-r--r--alc/mixer/defs.h2
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,