You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a PCM5102 to stream MP3 tracks from a remote NAS, works brilliantly. I can stack tracks to play in a database on the NAS where an ESP32 requests the next track and it streams and plays. An 'Eject' feature was needed which isn't a problem, but I can't stop the MP3 and immediately delete the file and dump the remaining contents of the buffer so that I can create new instances of the source. It takes typically a whole minute after calling mp3->stop(). A dirty ESP Reset after a Stop does what I want but don't like that approach. Any ideas? tia.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using a PCM5102 to stream MP3 tracks from a remote NAS, works brilliantly. I can stack tracks to play in a database on the NAS where an ESP32 requests the next track and it streams and plays. An 'Eject' feature was needed which isn't a problem, but I can't stop the MP3 and immediately delete the file and dump the remaining contents of the buffer so that I can create new instances of the source. It takes typically a whole minute after calling mp3->stop(). A dirty ESP Reset after a Stop does what I want but don't like that approach. Any ideas? tia.
Beta Was this translation helpful? Give feedback.
All reactions