swresample/soxr: fix invalid use of linear_interp
authorMuhammad Faiz <mfcc64@gmail.com>
Fri, 25 Nov 2016 09:39:34 +0000 (16:39 +0700)
committerMuhammad Faiz <mfcc64@gmail.com>
Fri, 25 Nov 2016 22:52:24 +0000 (05:52 +0700)
commitda34e4e13238b755bb0e6ebf549015797d9b4467
tree48d02666460dadd3ea6512351ee3e0b651e17236
parent6e1902bab4349a79c45807af18ebf5b50f7b436b
swresample/soxr: fix invalid use of linear_interp

give very bad quality for soxr resampler.
linear_interp is intended for  using linear interpolation
between filter bank so quality will be better.

i guess this is misunderstood as 'do not use filter bank,
but directly interpolate linearly between samples'.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
libswresample/soxr_resample.c