Skip to content

Commit 279573e

Browse files
authored
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.
1 parent b044fc3 commit 279573e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

usermods/audioreactive/audio_source.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ constexpr i2s_port_t AR_I2S_PORT = I2S_NUM_0; // I2S port to use (do not c
6565
// data type requested from the I2S driver - currently we always use 32bit
6666
//#define I2S_USE_16BIT_SAMPLES // (experimental) define this to request 16bit - more efficient but possibly less compatible
6767

68-
#if defined(WLED_ENABLE_HUB75MATRIX) && defined(CONFIG_IDF_TARGET_ESP32)
69-
// this is bitter, but necessary to survive
70-
#define I2S_USE_16BIT_SAMPLES
71-
#endif
68+
//#if defined(WLED_ENABLE_HUB75MATRIX) && defined(CONFIG_IDF_TARGET_ESP32)
69+
// // this is bitter, but necessary to survive // disabled - does not work!!
70+
// #define I2S_USE_16BIT_SAMPLES
71+
//#endif
7272

7373
#ifdef I2S_USE_16BIT_SAMPLES
7474
#define I2S_SAMPLE_RESOLUTION I2S_BITS_PER_SAMPLE_16BIT

0 commit comments

Comments
 (0)