aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-09-17 01:43:02 -0700
committerChris Robinson <[email protected]>2018-09-17 04:07:56 -0700
commit7f4441ffbe072c45ea5a141fc126d81095fe7fca (patch)
treee91a7f1194bb377bed9c226ecdb0b14e62ae41bb /Alc/ALu.c
parent8bacb5dfb8ef910586fcf5b5cd89526ec81061e8 (diff)
Handle the bsinc C resampler like the others
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index e5203d6e..182b226f 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -357,7 +357,7 @@ void BsincPrepare(const ALuint increment, BsincState *state, const BSincTable *t
state->sf = sf;
state->m = table->m[si];
- state->l = -((state->m/2) - 1);
+ state->l = (state->m/2) - 1;
state->filter = table->Tab + table->filterOffset[si];
}