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

PlayWAVFromPROGMEM wont compile #566

Closed ianburton20 closed 2 years ago

ianburton20 commented 2 years ago

PlayWAVFromPROGMEM won't compile

Arduino 1.8.19. ESP8266 Board Manager Version 3.0.2 ESP8266 Audio Version 1.9.7 - Error Compiling AudioFileSourceHTTPStream.cpp: In member function 'virtual bool AudioFileSourceHTTPStream::open(const char*)': C:\Users\ian\Documents\Arduino\libraries\ESP8266Audio-master\src\AudioFileSourceHTTPStream.cpp:43:27: error: cannot convert 'bool' to 'followRedirects_t';

Suggestions as to what's wrong? Thanks

ianburton20 commented 2 years ago

My error - Was pulling in ESP8266 Audio Master 1.5.1 and not ESP8266 Audio 1.9.7