1 #ifndef AUDIOCONFIGESP_H 2 #define AUDIOCONFIGESP_H 5 #error This header should be included for ESP architecture, only 10 #define PDM_VIA_SERIAL 2
11 #define EXTERNAL_DAC_VIA_I2S 3
15 #define PDM_RESOLUTION 2
19 #define PDM_RESOLUTION 1
22 #if (AUDIO_MODE == HIFI) 23 #error HIFI mode is not available for this CPU architecture (but check ESP_AUDIO_OUT_MODE, and PDM_RESOLUTION) 26 #if (AUDIO_CHANNELS > 1
) 27 #if (ESP_AUDIO_OUT_MODE != EXTERNAL_DAC_VIA_I2S) 28 #error Stereo is not available for the configured audio output mode 37 #define BYPASS_MOZZI_OUTPUT_BUFFER true 41 #define AUDIO_BIAS ((uint16_t) 1
<<(AUDIO_BITS-1
))
#define ESP_AUDIO_OUT_MODE
#define EXTERNAL_DAC_VIA_I2S