Open llinzzi opened 1 month ago
Hi @llinzzi. You'd like to play an mp3 file that you are streaming or loading over http? At the moment this isn't particularly easy to do, the library was aimed at playing from FILE handles.
You could put the data into a memory file but this would likely mean you'd need to keep adding to the file until it was complete, in order to stay ahead of the playback, and if it was a long mp3 you'd end up having to keep that all in ram. So maybe not a big deal but a bit of a pain.
PRs welcome to expand the library, it was written to be as simple as possible for the use case of locally stored files but clean ways to make it possible to support streaming would be welcome.
How to play an mp3 file of http? Is it supported?