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/alu.h | |
parent | ce76cc144142a065e2702bd57f4358929c38d1bc (diff) |
Pass a span to the Resample function
Diffstat (limited to 'alc/alu.h')
-rw-r--r-- | alc/alu.h | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); |