From 279573e3661de7022401061b670a62263e2b65cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frank=20M=C3=B6hle?= <91616163+softhack007@users.noreply.github.com> Date: Mon, 16 Feb 2026 23:02:57 +0100 Subject: [PATCH] Disable 16-bit sampling for I2S driver (fix for #333) Comment out the HUB75 conditional definition of I2S_USE_16BIT_SAMPLES due to compatibility issues. --- usermods/audioreactive/audio_source.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/usermods/audioreactive/audio_source.h b/usermods/audioreactive/audio_source.h index 6d31e029..35c3564e 100644 --- a/usermods/audioreactive/audio_source.h +++ b/usermods/audioreactive/audio_source.h @@ -65,10 +65,10 @@ constexpr i2s_port_t AR_I2S_PORT = I2S_NUM_0; // I2S port to use (do not c // data type requested from the I2S driver - currently we always use 32bit //#define I2S_USE_16BIT_SAMPLES // (experimental) define this to request 16bit - more efficient but possibly less compatible -#if defined(WLED_ENABLE_HUB75MATRIX) && defined(CONFIG_IDF_TARGET_ESP32) - // this is bitter, but necessary to survive - #define I2S_USE_16BIT_SAMPLES -#endif +//#if defined(WLED_ENABLE_HUB75MATRIX) && defined(CONFIG_IDF_TARGET_ESP32) +// // this is bitter, but necessary to survive // disabled - does not work!! +// #define I2S_USE_16BIT_SAMPLES +//#endif #ifdef I2S_USE_16BIT_SAMPLES #define I2S_SAMPLE_RESOLUTION I2S_BITS_PER_SAMPLE_16BIT