resample: fix phase calculation

This commit is contained in:
Wim Taymans 2019-07-09 16:54:52 +02:00
parent a3c0bb0e9a
commit 595dc0ab5b
2 changed files with 9 additions and 7 deletions

View file

@ -97,7 +97,7 @@ DEFINE_RESAMPLER(full,arch) \
const float *s = src[c]; \
float *d = dst[c]; \
\
index = 0; \
index = 0; \
phase = data->phase; \
\
for (o = offs; o < olen && index + n_taps <= ilen; o++) { \