[pulseaudio-discuss] [PATCH v2 0/4] Add support for libsoxr resampler
Andrey Semashev
andrey.semashev at gmail.com
Fri Nov 14 15:45:58 PST 2014
This is an updated set of patches first announced and discussed here:
http://comments.gmane.org/gmane.comp.audio.pulseaudio.general/22158
Changes to the original patches:
* Removed the -lq quality preset, only -mq, -hq and -vhq presets are left.
* Removed the fix to the sample_format_more_precise function as it was factored out to a separate patch, which was committed.
* Changed the asserts in switch/case statements to the pa_assert_not_reached() macro and also some comments as suggested.
* Explicitly provide runtime_spec with thread number 1 to soxr_create so that we're guaranteed to not use multithreading. This is equivalent to the previous code that relied on the default.
* Changed choose_work_format() so that soxr uses the common case branch rather than its own. Removed the duplicate condition from it to simplify code slightly.
* Updated docs so that it better describes pros and cons of the new resampler and its presets.
Andrey Semashev (4):
Added libsoxr resampler backend.
Enabled libsoxr resampler backend.
Added libsoxr detection and optional build of soxr resampler backend.
Added documentation for soxr resampling methods.
configure.ac | 17 +++++
man/pulse-daemon.conf.5.xml.in | 14 +++-
src/Makefile.am | 6 ++
src/pulsecore/resampler.c | 25 ++++--
src/pulsecore/resampler.h | 4 +
src/pulsecore/resampler/soxr.c | 170 +++++++++++++++++++++++++++++++++++++++++
6 files changed, 228 insertions(+), 8 deletions(-)
create mode 100644 src/pulsecore/resampler/soxr.c
--
2.1.0
More information about the pulseaudio-discuss
mailing list