ESP32_MP3_Decoder icon indicating copy to clipboard operation
ESP32_MP3_Decoder copied to clipboard

Many warnings at compile time (esp-idf 3.0)

Open tonyp7 opened this issue 6 years ago • 2 comments

Most notably deprecated functions:

Deprecated functions: C:/msys32/home/tony/esp/ESP32_MP3_Decoder/components/audio_renderer/audio_renderer.c:133:13: warning: 'i2s_write_bytes' is deprecated [-Wdeprecated-declarations] bytes_written = i2s_write_bytes(renderer_instance->i2s_num, buf, bytes_left, 0);

C:/msys32/home/tony/esp/ESP32_MP3_Decoder/components/audio_renderer/audio_renderer.c:182:13: warning: 'i2s_push_sample' is deprecated [-Wdeprecated-declarations] bytes_pushed = i2s_push_sample(renderer_instance->i2s_num, (const char*) &sample, max_wait);

But also a tons of other things: https://pastebin.com/HJuW5efB

tonyp7 avatar May 29 '18 07:05 tonyp7

Wanna make a pull request?

MrBuddyCasino avatar May 29 '18 07:05 MrBuddyCasino

Sure, let me try my audio amp first (finally soldered it...) and I'll try cleaning up some code and see if we can reduce this warning count!

tonyp7 avatar May 29 '18 07:05 tonyp7