Files
snapclient/components/esp-dsp/Kconfig
Carlos 15b4baba28 - merge with original master from jorgen
- minimize RAM usage of all components
- use both IRAM and DRAM in player component so we can buffer up to 1s on modules without SPI RAM
- support fragemented pcm chunks so we can use all available RAM if there isn't a big enough block available but still enough HEAP
- reinclude all components from jorgen's master branch
- add custom i2s driver to get a precise timing of initial sync
- change wrong usage of esp_timer for latency measurement of snapcast protocol
- add player component
2021-08-19 21:57:16 +02:00

54 lines
1.1 KiB
Plaintext

menu "DSP Library"
choice DSP_OPTIMIZATION
bool "DSP Optimization for ESP32"
default DSP_OPTIMIZED
help
An Ansi C version could be used for verification and debug purpose.
config DSP_ANSI
bool "ANSI C"
config DSP_OPTIMIZED
bool "ESP32 Optimized"
endchoice
config DSP_OPTIMIZATION
int
default 0 if DSP_ANSI
default 1 if DSP_OPTIMIZED
choice DSP_MAX_FFT_SIZE
bool "Maximum FFT length"
default DSP_MAX_FFT_SIZE_4096
help
This is default FFT size for internal usage.
config DSP_MAX_FFT_SIZE_512
bool "512"
config DSP_MAX_FFT_SIZE_1024
bool "1024"
config DSP_MAX_FFT_SIZE_2048
bool "2048"
config DSP_MAX_FFT_SIZE_4096
bool "4096"
config DSP_MAX_FFT_SIZE_8192
bool "8192"
config DSP_MAX_FFT_SIZE_16384
bool "16384"
config DSP_MAX_FFT_SIZE_32768
bool "32768"
endchoice
config DSP_MAX_FFT_SIZE
int
default 512 if DSP_MAX_FFT_SIZE_512
default 1024 if DSP_MAX_FFT_SIZE_1024
default 2048 if DSP_MAX_FFT_SIZE_2048
default 4096 if DSP_MAX_FFT_SIZE_4096
default 8192 if DSP_MAX_FFT_SIZE_8192
default 16384 if DSP_MAX_FFT_SIZE_16384
default 32768 if DSP_MAX_FFT_SIZE_32768
endmenu