Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many warnings at compile time (esp-idf 3.0) #53

Open
tonyp7 opened this issue May 29, 2018 · 2 comments
Open

Many warnings at compile time (esp-idf 3.0) #53

tonyp7 opened this issue May 29, 2018 · 2 comments

Comments

@tonyp7
Copy link

tonyp7 commented May 29, 2018

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

@MrBuddyCasino
Copy link
Owner

Wanna make a pull request?

@tonyp7
Copy link
Author

tonyp7 commented May 29, 2018

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants