diff options
Diffstat (limited to 'alc/mixer/mixer_c.cpp')
-rw-r--r-- | alc/mixer/mixer_c.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/mixer/mixer_c.cpp b/alc/mixer/mixer_c.cpp index ffc07acd..8d375de7 100644 --- a/alc/mixer/mixer_c.cpp +++ b/alc/mixer/mixer_c.cpp @@ -62,8 +62,8 @@ inline float do_fastbsinc(const InterpState &istate, const float *RESTRICT vals, return r; } -using SamplerT = float(const InterpState&, const float*RESTRICT, const ALuint); -template<SamplerT &Sampler> +using SamplerT = float(&)(const InterpState&, const float*RESTRICT, const ALuint); +template<SamplerT Sampler> const float *DoResample(const InterpState *state, const float *RESTRICT src, ALuint frac, ALuint increment, const al::span<float> dst) { |