Skip to content

Commit 5432842

Browse files
committed
ESP32 I2S does not support any buffer
1 parent 32324ae commit 5432842

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/AudioI2S/I2SConfigESP32V1.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ class I2SConfigESP32V1 : public AudioInfo {
6060
int pin_data = -1; // rx or tx pin dependent on mode: tx pin for RXTX_MODE
6161
int pin_data_rx = -1; // rx pin for RXTX_MODE
6262
int pin_mck = PIN_I2S_MCK;
63+
/// not used any more
6364
int buffer_count = I2S_BUFFER_COUNT;
65+
/// not used any more
6466
int buffer_size = I2S_BUFFER_SIZE;
6567
bool use_apll = I2S_USE_APLL;
6668
/// Select left or right channel when channels == 1
@@ -81,8 +83,8 @@ class I2SConfigESP32V1 : public AudioInfo {
8183
if (use_apll) {
8284
LOGI("use_apll: %s", use_apll ? "true" : "false");
8385
}
84-
LOGI("buffer_count:%d",buffer_count);
85-
LOGI("buffer_size:%d",buffer_size);
86+
// LOGI("buffer_count:%d",buffer_count);
87+
// LOGI("buffer_size:%d",buffer_size);
8688

8789
if (pin_mck!=-1)
8890
LOGI("pin_mck: %d", pin_mck);

0 commit comments

Comments
 (0)