earlephilhower / ESP8266Audio

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

AudioOutputI2S : error "I2S: register I2S object to platform failed" : destructor & stop #568

Closed FedericoBusero closed 2 years ago

FedericoBusero commented 2 years ago

It is necessary to call i2s_driver_uninstall before i2s_driver_install is being called again in the begin function. That is why I moved it to the stop function

My idea is that also the noise on DAC is less after calling the function stop - but I am not sure about this

riraosan commented 1 year ago

https://github.com/earlephilhower/ESP8266Audio/discussions/569 I found this problem, though. @FedericoBusero