mirror of https://github.com/FFmpeg/FFmpeg.git
Depending on input chunk size noticable corrpution was hearable, here is an
example command line:
ffplay -f lavfi -i "sine=440:r=8000:samples_per_frame=32,aresample=24000:filter_size=1:phase_shift=0"
Fix this by rounding the fixed point fractions up instead of down.
Signed-off-by: Marton Balint <cus@passwd.hu>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| aarch64 | ||
| arm | ||
| tests | ||
| x86 | ||
| Makefile | ||
| audioconvert.c | ||
| audioconvert.h | ||
| dither.c | ||
| dither_template.c | ||
| libswresample.v | ||
| log2_tab.c | ||
| noise_shaping_data.c | ||
| options.c | ||
| rematrix.c | ||
| rematrix_template.c | ||
| resample.c | ||
| resample.h | ||
| resample_dsp.c | ||
| resample_template.c | ||
| soxr_resample.c | ||
| swresample.c | ||
| swresample.h | ||
| swresample_frame.c | ||
| swresample_internal.h | ||
| swresampleres.rc | ||
| version.c | ||
| version.h | ||
| version_major.h | ||