Skip to content

Commit 6d1d494

Browse files
authored
Extend I2S swapped channel workaround to all 4.4.x versions
It's very unlikely that this old bug will ever be fixed in any esp-idf 4.4.x release.
1 parent 65daf26 commit 6d1d494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usermods/audioreactive/audio_source.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
* if you want to receive two channels, one is the actual data from microphone and another channel is suppose to receive 0, it's different data in two channels, you need to choose I2S_CHANNEL_FMT_RIGHT_LEFT in this case.
7272
*/
7373

74-
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)) && (ESP_IDF_VERSION <= ESP_IDF_VERSION_VAL(4, 4, 6))
74+
#if (ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(4, 4, 0)) && (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 5, 0))
7575
// espressif bug: only_left has no sound, left and right are swapped
7676
// https://github.com/espressif/esp-idf/issues/9635 I2S mic not working since 4.4 (IDFGH-8138)
7777
// https://github.com/espressif/esp-idf/issues/8538 I2S channel selection issue? (IDFGH-6918)

0 commit comments

Comments
 (0)