Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
GNU General Public License v3.0
2.01k
stars
432
forks
source link
ESP32: Fix compilation of I2S in Arduino ESP32 core 1.0.6 #565
The last contribution broke compilation on IDF <4.4.0. This is a problem as the library now no longer compiles on ESP32 core 1.0.6, the most stable version.
AudioOutputI2S.cpp & AudioOutputSPDIF.cpp do'n't compile because of unknown mck_io_num, mclk_multiple, bits_per_chan, I2S_MCLK_MULTIPLE_DEFAULT and I2S_BITS_PER_CHAN_DEFAULT.
The last contribution broke compilation on IDF <4.4.0. This is a problem as the library now no longer compiles on ESP32 core 1.0.6, the most stable version. AudioOutputI2S.cpp & AudioOutputSPDIF.cpp do'n't compile because of unknown mck_io_num, mclk_multiple, bits_per_chan, I2S_MCLK_MULTIPLE_DEFAULT and I2S_BITS_PER_CHAN_DEFAULT.
This PR fixes the compilation problem.