_stopSoundFile only gets called when the file has finished playing - so if you called it yourself to stop the sound then it wouldn't have closed the file.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
_stopSoundFile only gets called when the file has finished playing - so if you called it yourself to stop the sound then it wouldn't have closed the file.