[pulseaudio-discuss] [PATCH 3/3] resampler: Add optional libavresample resampler

Alexander E. Patrakov patrakov at gmail.com
Sun Aug 24 03:36:01 PDT 2014


04.08.2014 18:40, Peter Meerwald wrote:
> see https://libav.org/doxygen/master/group__lavr.html
>
> Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
> Signed-off-by: poljar (Damir Jelić) <poljarinho at gmail.com>
> ---
>   configure.ac                   |  17 +++++
>   src/Makefile.am                |   6 ++
>   src/pulsecore/resampler.c      |  14 +++-
>   src/pulsecore/resampler.h      |   2 +
>   src/pulsecore/resampler/lavr.c | 160 +++++++++++++++++++++++++++++++++++++++++
>   5 files changed, 198 insertions(+), 1 deletion(-)
>   create mode 100644 src/pulsecore/resampler/lavr.c

Summary of the too-big message with the spectrogram: I suspect an 
implementation error. This resampler behaves incorrectly for the 44100 
-> 48000 Hz when given a sine wave with frequency higher than 11025 Hz. 
A proper resampler would output a sine wave with the same frequency as 
input. This one creates a sine wave of a different frequency.

-- 
Alexander E. Patrakov


More information about the pulseaudio-discuss mailing list