Skip to content

Commit dfd3593

Browse files
committed
IDF 4.4.8 I2S audio channel bugfix
1 parent cf0a070 commit dfd3593

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

usermods/audioreactive/audio_source.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
* 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.
6666
*/
6767

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

0 commit comments

Comments
 (0)