1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
FFmpeg/libswresample
Marton Balint ef327c189f swresample/resample: fix rounding errors with filter_size=1 and phase_shift=0
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 7b1b9bb31f)
2024-03-19 21:01:06 +01:00
..
aarch64
arm
tests swresample: convert to new channel layout API 2022-03-15 09:42:46 -03:00
x86 swresample/x86/resample: Remove obsolete MMXEXT functions 2022-06-14 01:28:29 +02:00
audioconvert.c all: Replace if (ARCH_FOO) checks by #if ARCH_FOO 2022-06-15 04:56:37 +02:00
audioconvert.h
dither_template.c
dither.c
libswresample.v
log2_tab.c
Makefile lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
noise_shaping_data.c swresample/noise_shaping_data: Remove unused tables 2022-06-15 04:58:14 +02:00
options.c swresample: convert to new channel layout API 2022-03-15 09:42:46 -03:00
rematrix_template.c swresample: convert to new channel layout API 2022-03-15 09:42:46 -03:00
rematrix.c all: Replace if (ARCH_FOO) checks by #if ARCH_FOO 2022-06-15 04:56:37 +02:00
resample_dsp.c all: Replace if (ARCH_FOO) checks by #if ARCH_FOO 2022-06-15 04:56:37 +02:00
resample_template.c
resample.c swresample/resample: fix rounding errors with filter_size=1 and phase_shift=0 2024-03-19 21:01:06 +01:00
resample.h
soxr_resample.c
swresample_frame.c swresample: convert to new channel layout API 2022-03-15 09:42:46 -03:00
swresample_internal.h swresample: convert to new channel layout API 2022-03-15 09:42:46 -03:00
swresample.c swresample/swresample: fill the correct buffer to print the output layout string 2022-08-21 17:51:18 -03:00
swresample.h Keep including the full version.h when headers are included externally 2022-03-19 00:01:57 +02:00
swresampleres.rc
version_major.h libswresample: Split version.h 2022-03-16 14:05:26 +02:00
version.c lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
version.h Bump Versions for 5.1 branch 2022-07-13 00:27:37 +02:00