diff options
author | Chris Robinson <[email protected]> | 2017-06-24 10:52:26 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2017-06-25 04:07:06 -0700 |
commit | c465718ddd59b3d137b5e50c0b11835646bc2c5b (patch) | |
tree | e9b1fcaf85444eade9df3266e950d8b149935323 /Alc/ALu.c | |
parent | d1bb04d588f444d4e1f7318fcd05eb7c298a129e (diff) |
Use the bsinc resampler for the converter
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -214,7 +214,7 @@ static aluVector aluMatrixfVector(const aluMatrixf *mtx, const aluVector *vec) * modified for use with an interpolated increment for buttery-smooth pitch * changes. */ -static ALboolean BsincPrepare(const ALuint increment, BsincState *state) +ALboolean BsincPrepare(const ALuint increment, BsincState *state) { static const ALfloat scaleBase = 1.510578918e-01f, scaleRange = 1.177936623e+00f; static const ALuint m[BSINC_SCALE_COUNT] = { 24, 24, 24, 24, 24, 24, 24, 20, 20, 20, 16, 16, 16, 12, 12, 12 }; |