Use the libspeexdsp resampler

AFAICT it runs a little slower? but it's fixed point, and has much
better understood audio characteristics.
This commit is contained in:
jacqueline
2023-08-10 19:12:38 +10:00
parent d8fc77101d
commit 958160aa54
163 changed files with 77244 additions and 253 deletions
+13
View File
@@ -0,0 +1,13 @@
# Copyright 2023 jacqueline <me@jacqueline.id.au>
#
# SPDX-License-Identifier: GPL-3.0-only
idf_component_register(
SRCS libspeexdsp/buffer.c libspeexdsp/fftwrap.c libspeexdsp/filterbank.c
libspeexdsp/jitter.c libspeexdsp/kiss_fft.c libspeexdsp/kiss_fftr.c
libspeexdsp/mdf.c libspeexdsp/preprocess.c libspeexdsp/resample.c
libspeexdsp/scal.c libspeexdsp/smallft.c
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "libspeexdsp"
)
target_compile_options(${COMPONENT_LIB} PRIVATE -DHAVE_CONFIG_H -Wno-shift-negative-value -Wno-unused-const-variable)