Replies: 1 comment
-
It should be good enough to close the last file and continue to copy data from the next file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everybody, and thank you for reading.
I'm building kind of a Jukebox, where I have buttons for each song. When I press a button, the corrosponding audio is played.
I now wonder what actually needs to be restarted when I change the file. At the moment, I end the copier, close and reopen the file, and restart the copier, but is there a better way to change the file I want to stream?
Here is the sample code:
In addition to that, I run into a problem: if I trigger button 2 and, while playing, immediately button 1, the ESP starts to stream noise only. I suspect the queue or shared memory gets polluted somehow. It also does not recover from that situation. Any idea what I could do against this?
Thank you for your advice.
Beta Was this translation helpful? Give feedback.
All reactions