We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ab1b14 commit cd5494fCopy full SHA for cd5494f
usermods/audioreactive/audio_reactive.h
@@ -1121,6 +1121,11 @@ class AudioReactive : public Usermod {
1121
delay(100); // Give that poor microphone some time to setup.
1122
1123
useBandPassFilter = false;
1124
+
1125
+ #if !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32C3)
1126
+ if ((i2sckPin == I2S_PIN_NO_CHANGE) && (i2ssdPin >= 0) && (i2swsPin >= 0) && ((dmType == 1) || (dmType == 4)) ) dmType = 5; // dummy user support: SCK == -1 --means--> PDM microphone
1127
+ #endif
1128
1129
switch (dmType) {
1130
#if defined(CONFIG_IDF_TARGET_ESP32S2) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
1131
// stub cases for not-yet-supported I2S modes on other ESP32 chips
0 commit comments