changeset 217:9fa6a00b294c

Actually stop the sample playing, in addition to setting volume to zero.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 07 Oct 2012 21:45:24 +0300
parents 247b03797fc9
children c619c8b6f696
files jssplr.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jssplr.c	Sun Oct 07 21:38:09 2012 +0300
+++ b/jssplr.c	Sun Oct 07 21:45:24 2012 +0300
@@ -1178,7 +1178,7 @@
         {
             chn->volume = 0;
             chn->panning = jchPanMiddle;
-            JMPSETNDFLAGS(cdfPlay | cdfNewPanPos | cdfNewVolume);
+            JMPSETNDFLAGS(cdfStop | cdfNewPanPos | cdfNewVolume);
         }
     }