Question on KISS wav player object
Ragtop
Posts: 406
I was wondering if there is a way to stop the current file that is playing.
Tried pausefile, but program doesn't seem to process next instruction until the
file is finished playing.
Tried pausefile, but program doesn't seem to process next instruction until the
file is finished playing.
Comments
I don't think I built that feature in. You can modify the code to kill the cog that is playing and the one that is reading from the WAV file. So... this means calling the DAC Engine stop function, the cogstoping the cog that was feeding the DACEngine the WAV file, then closing the WAV file.
Thanks,