From 0961f4eb00782df66e3ada75b4055b44a28240f3 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 20 Aug 2019 08:46:12 -0700 Subject: Pass a span to the Resample function --- alc/alu.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'alc/alu.h') 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 dst); void BsincPrepare(const ALuint increment, BsincState *state, const BSincTable *table); -- cgit v1.2.3