changeset 140:9894b63bb159

This resetting of volume/pan ramps is not needed here anymore.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 05 Oct 2012 09:31:55 +0300
parents 111f3e4b57ad
children 0c9438a2c72a
files jssmix.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/jssmix.c	Fri Oct 05 09:25:59 2012 +0300
+++ b/jssmix.c	Fri Oct 05 09:31:55 2012 +0300
@@ -385,12 +385,6 @@
         {
             if (mixer->cbCounter <= 0)
             {
-                for (i = 0; i < jsetNChannels; i++)
-                {
-                    JSSChannel *chn = &(mixer->channels[i]);
-                    chn->chDeltaV.dw = chn->chDeltaP.dw = 0;
-                    chn->chVolumeD = chn->chPanningD = 0;
-                }
                 mixer->cbFunction(mixer, mixer->cbData);
                 mixer->cbCounter = mixer->cbFreq;
             }