- add sdkconfig for NO_SPIRAM and SPIRAM situation

- detect snapcast configuration and init everything accordingly, e.g sample rate, chunk duration, ...
  o calculate apll predefines in dependence of sample rate
  o communicate these settings to interested parties
- remove typos
This commit is contained in:
Carlos
2021-08-26 22:08:17 +02:00
Unverified
parent 15b4baba28
commit e799aaac25
13 changed files with 3471 additions and 190 deletions

View File

@@ -1,42 +1,18 @@
# Config file for ESP32 DSP Processor
menu "ESP32 audio buffer and I2S pin config"
menu "ESP32 audio buffer and I2S config"
config USE_PSRAM
bool "Use PSRAM"
default true
depends on ESP32_SPIRAM_SUPPORT
help
Need wrover class modules with large SPRAM to have required buffers for Snapcast network delay
Need wrover class modules with large SPRAM to have buffers >1s and chunks >20ms for Snapcast network delay
config USE_DSP_PROCESSOR
bool "enable signal processing on audio data"
default false
help
enable audio filtering before queueing it to player component
config BITS_PER_SAMPLE
int "bits per sample output to i2s driver"
default 16
help
Select number of bits per sample for codec configured and connected to esp32 i2s dma hw
config CHANNELS
int "number of channels per sample output to i2s driver"
default 2
help
Select number of channels per sample for codec configured and connected to esp32 i2s dma hw
config PCM_SAMPLE_RATE
int "sample rate of audio pcm data"
default 48000
help
sample rate of audio data, currently only 48kHz is heavily tested and used during development
config WIRE_CHUNK_DURATION_MS
int "wire chunk duration [ms]"
default 20
help
pcm data is encoded in chunks of x ms, this value has to match snapserver configuration
config USE_BIQUAD_ASM
bool "Use uptimized asm version of Biquad_f32"