[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

This resampler needs further investigation. For 44100 -> 48000 Hz 
resampling, it yields response that does not even resemble that of a 
proper resampler. In particular, instead of attenuating only frequencies 
that are close to the half of the sample rate, it attenuates frequencies 
near the quarter of the sampling rate. Also, unlike any other resampler, 
it produces a strong line of the mirror frequency (22050 hz - signal 
frequency) on the output.

Perhaps there is an implementation error somewhere?

-- 
Alexander E. Patrakov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavr_response.png
Type: image/png
Size: 203089 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20140824/645fbd9f/attachment-0001.png>


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

  Powered by Linux