[PATCH 3/3] resampler: Add optional libavresample resampler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux