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 d8c3a52 commit 0212866Copy full SHA for 0212866
src/AudioI2S/I2SESP32V1.h
@@ -207,7 +207,7 @@ class I2SDriverESP32V1 {
207
if (cfg.mclk_multiple > 0){
208
clk_cfg.mclk_multiple = cfg.mclk_multiple;
209
} else {
210
- if (cfg.bits_per_sample == 24) {
+ if (pin_mck!=-1 && cfg.bits_per_sample == 24) {
211
// mclk_multiple' should be the multiple of 3 while using 24-bit
212
clk_cfg.mclk_multiple = I2S_MCLK_MULTIPLE_384;
213
LOGI("mclk_multiple=384");
0 commit comments