[pulseaudio-discuss] [PATCH 0/3] resamplers

Peter Meerwald pmeerw at pmeerw.net
Mon Aug 4 06:05:49 PDT 2014


Hello Alexander, 

> > my goal would be to establish libavresample as the new default resampler and
> > drop the ffmpeg code copied into PA currently; don't worry, this would be
> > further work based on the feedback received :)
 
> This conflicts with my goal of writing and getting a rewindable 
> resampler into pulseaudio.

ok, so general direction is not undisputed :)

do you know if libavresample can do rewind?

do you oppose the present patches to split up resampler.c and add new 
resamplers? nothing would prevent yet another resampler

probably different applications need different resamplers, i.e. fast vs. 
correct 

currently, speex and ffmpeg are kind-of default:

speexdsp is largely unmaintained, very recently there seems to be some 
activity [0]; speex has SSE and NEON code path

ffmpeg code is copied into the PA repo and has been superceeded by 
libavresample

libavresample has AARCH64, NEON and SSE/AVX codepath, although only 
AARCH64 (!) has SIMD resampling code (yet)

libavresample might be a good basis for general purpose resampling with 
a good infrastructure for architecture specific optimization

regards, p.

[0] https://git.xiph.org/speexdsp.git

-- 

Peter Meerwald
+43-664-2444418 (mobile)


More information about the pulseaudio-discuss mailing list