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

Peter Meerwald pmeerw at pmeerw.net
Sun Aug 24 10:49:15 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.

this is interesting; I think the libav people would love to hear :)

p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list