aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.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/alu.h
parentce76cc144142a065e2702bd57f4358929c38d1bc (diff)
Pass a span to the Resample function
Diffstat (limited to 'alc/alu.h')
-rw-r--r--alc/alu.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/alc/alu.h b/alc/alu.h
index 7bde7b03..4ab093d2 100644
--- a/alc/alu.h
+++ b/alc/alu.h
@@ -80,9 +80,8 @@ union InterpState {
BsincState bsinc;
};
-using ResamplerFunc = const ALfloat*(*)(const InterpState *state,
- const ALfloat *RESTRICT src, ALsizei frac, ALint increment,
- ALfloat *RESTRICT dst, ALsizei dstlen);
+using ResamplerFunc = const ALfloat*(*)(const InterpState *state, const ALfloat *RESTRICT src,
+ ALsizei frac, ALint increment, const al::span<float> dst);
void BsincPrepare(const ALuint increment, BsincState *state, const BSincTable *table);