From 99b034c636b5b906d0d21e42a755c1977d6aa7ad Mon Sep 17 00:00:00 2001 From: Phil Schatzmann Date: Mon, 23 Oct 2023 06:37:49 +0200 Subject: [PATCH] I2S Cleanup --- src/AudioI2S/I2SConfigESP32.h | 10 +++++----- src/AudioI2S/I2SConfigESP32V1.h | 2 +- src/AudioI2S/I2SConfigStd.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/AudioI2S/I2SConfigESP32.h b/src/AudioI2S/I2SConfigESP32.h index 9aa2ab446a..d6ef9db8e1 100644 --- a/src/AudioI2S/I2SConfigESP32.h +++ b/src/AudioI2S/I2SConfigESP32.h @@ -25,7 +25,7 @@ enum I2SSignalType { INLINE_VAR const char* i2s_signal_types[] = {"Digital","Analog","PDM","TDM"}; /** - * @brief configuration for USE_ALT_PIN_SUPPORT i2s + * @brief Configuration for ESP32 legacy i2s * @ingroup platform * @author Phil Schatzmann * @copyright GPLv3 @@ -97,13 +97,13 @@ class I2SConfigESP32 : public AudioInfo { if (signal_type==Digital){ LOGI("i2s_format: %s", i2s_formats[i2s_format]); } - //LOGI("auto_clear: %s",auto_clear? "true" : "false"); + LOGI("auto_clear: %s",auto_clear? "true" : "false"); if (use_apll) { LOGI("use_apll: %s", use_apll ? "true" : "false"); } - //if (fixed_mclk){ - // LOGI("fixed_mclk: %d", (int) fixed_mclk); - //} + if (fixed_mclk){ + LOGI("fixed_mclk: %d", (int) fixed_mclk); + } LOGI("buffer_count:%d",buffer_count); LOGI("buffer_size:%d",buffer_size); diff --git a/src/AudioI2S/I2SConfigESP32V1.h b/src/AudioI2S/I2SConfigESP32V1.h index 433e09cc82..f3bc0b2bf7 100644 --- a/src/AudioI2S/I2SConfigESP32V1.h +++ b/src/AudioI2S/I2SConfigESP32V1.h @@ -22,7 +22,7 @@ enum I2SSignalType { INLINE_VAR const char* i2s_signal_types[] = {"Digital","Analog","PDM","TDM"}; /** - * @brief configuration for ESP32 i2s for IDF > 5.0 + * @brief Configuration for ESP32 i2s for IDF > 5.0 * @ingroup platform * @author Phil Schatzmann * @copyright GPLv3 diff --git a/src/AudioI2S/I2SConfigStd.h b/src/AudioI2S/I2SConfigStd.h index b22b04a364..a098d47824 100644 --- a/src/AudioI2S/I2SConfigStd.h +++ b/src/AudioI2S/I2SConfigStd.h @@ -9,7 +9,7 @@ namespace audio_tools { /** - * @brief configuration for all common i2s settings + * @brief Configuration for i2s * @ingroup platform * @author Phil Schatzmann * @copyright GPLv3