Be precise computing the resampler with the smallest memory footprint
authorRon <ron@debian.org>
Fri, 6 Dec 2013 06:16:20 +0000 (01:16 -0500)
committerTristan Matthews <le.businessman@gmail.com>
Fri, 6 Dec 2013 06:16:20 +0000 (01:16 -0500)
commitac8098e51ead951c7983ea1242c372c5a3663963
tree778fcf7f4f4178a708444ca81e33028adbee2a25
parentb0204ccee86d5e2281488ad24be579933f0c7afc
Be precise computing the resampler with the smallest memory footprint

The previous version was only wrong in some fairly obscure corner cases,
when oversample < den_rate <= oversample + 8 / filt_len, but since the
direct filter seems to mostly be the fastest, and that would err on the
side of choosing the interpolated one, let's do it right now anyway.

Signed-off-by: Tristan Matthews <le.businessman@gmail.com>
libspeexdsp/resample.c