mirror of https://github.com/thesofproject/sof.git
math: add config item for fft library
Add config item MATH_FFT and disable it by default at the moment. Signed-off-by: Keyon Jie <yang.jie@linux.intel.com>
This commit is contained in:
parent
d2cfa10f50
commit
c80350cc3b
|
@ -71,6 +71,12 @@ config MATH_FIR
|
|||
filter calculates a convolution of input PCM sample and a configurable
|
||||
impulse response.
|
||||
|
||||
config MATH_FFT
|
||||
bool "FFT library"
|
||||
default n
|
||||
help
|
||||
Enable Fast Fourier Transform library, this should not be selected
|
||||
directly, please select it from other audio components where need it.
|
||||
|
||||
config COMP_FIR
|
||||
bool "FIR component"
|
||||
|
|
|
@ -9,3 +9,7 @@ add_local_sources(sof numbers.c trig.c decibels.c iir_df2t_generic.c iir_df2t_hi
|
|||
if(CONFIG_MATH_FIR)
|
||||
add_local_sources(sof fir_generic.c fir_hifi2ep.c fir_hifi3.c)
|
||||
endif()
|
||||
|
||||
if(CONFIG_MATH_FFT)
|
||||
add_subdirectory(fft)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue