Closed medamarko closed 6 years ago
Constantly getting buffer underflow.... Im using ESP Wroom 32 module. Do i need Wrover with PSram to run this app?
(164423) mad_decoder: Buffer underflow, need 2471 bytes
I ran into the exact same issue.
Calling i2s_write instead of the deprecated function i2s_push_sample seems to fix it for me.
https://github.com/MrBuddyCasino/ESP32_MP3_Decoder/blob/580bbb94a4d0c0729af50d942941a616f925f93a/components/audio_renderer/audio_renderer.c#L194
I'll create a PR with the changes.
I met the same issue, and this patch solved it.
Constantly getting buffer underflow.... Im using ESP Wroom 32 module. Do i need Wrover with PSram to run this app?
(164423) mad_decoder: Buffer underflow, need 2471 bytes