Commit 00d2e621 authored by Committed by Ralph Giles
fixed-point resample: remove 1-bit shift right before interpolation
This was added in 0dd7bfeb to address truncation reported at http://lists.xiph.org/pipermail/speex-dev/2009-June/007277.html Truncation of the most-signficant bit was occuring on conversion to spx_word16_t in MULT16_32_Q15(). Changes to MULT16_32_Q15() mean this will no longer occur. The associated adjustment to the bit-shift before saturation was accidentally removed in 0e5d424f which caused the output to have half the intended amplitude when the interpolating resampler was used. Reported by Andreas Pehrson.
Showing with 1 addition and 1 deletion