Update of /cvsroot/alsa/alsa-lib/src/pcm
In directory sc8-pr-cvs1:/tmp/cvs-serv11688

Modified Files:
        pcm_dmix.c 
Log Message:
Reverted back generic code

Index: pcm_dmix.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_dmix.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- pcm_dmix.c  1 Mar 2003 11:20:18 -0000       1.25
+++ pcm_dmix.c  1 Mar 2003 20:18:50 -0000       1.26
@@ -641,8 +641,9 @@
 
        while (size-- > 0) {
                sample = *src;
+               old_sample = *sum;
                if (*dst == 0)
-                       sample -= *sum;
+                       sample -= old_sample;
                *sum += sample;
                do {
                        old_sample = *sum;



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to