Shop OBEX P1 Docs P2 Docs Learn Events
Question on KISS wav player object — Parallax Forums

Question on KISS wav player object

RagtopRagtop Posts: 406
edited 2012-10-08 06:51 in Propeller 1
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.

Comments

  • KyeKye Posts: 2,200
    edited 2012-10-08 06:51
    Hi,

    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,
Sign In or Register to comment.