diff jssplr.c @ 172:cfb087000db3

Clear player channel data as well in here.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 06 Oct 2012 09:37:34 +0300
parents 2023c2d8d6e7
children 520c18f581c7
line wrap: on
line diff
--- a/jssplr.c	Sat Oct 06 09:36:33 2012 +0300
+++ b/jssplr.c	Sat Oct 06 09:37:34 2012 +0300
@@ -543,6 +543,10 @@
         jvmClear(mp->device, i);
     }
 
+    // Initialize channel data
+    for (i = 0; i < jsetNChannels; i++)
+        jmpClearChannel(&mp->channels[i]);
+
     JSS_UNLOCK(mp);
 }