What does "0 hops" mean? #1514
-
I am playing WAV files off SPIFFS and after a few plays, I stop getting sound although the loop is happening and copier.copy() is getting called. The output shows something like this repeating indefinitely. The sounds seems to stop when it goes from "1 hops" to "0 hops":
If I output the position and size of the WAV file, I can see that it never reaches the end of the file. wavFile.available() also shows as true when in this state so the wav file seems to not be "completing." I'm not sure this is a bug or something I am doing wrong. I have tried the following code to "reset" the wav file between playthoughs.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
available() provides the number of bytes: what value do you get ? |
Beta Was this translation helpful? Give feedback.
available() provides the number of bytes: what value do you get ?
I really expect that copy returns 0 bytes copied, when you are at the end...