Update of /cvsroot/alsa/alsa-lib/src/pcm
In directory sc8-pr-cvs1:/tmp/cvs-serv19422
Modified Files:
pcm_dmix.c
Log Message:
Corrected universal 32-bit mixing routine
Index: pcm_dmix.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm_dmix.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- pcm_dmix.c 18 Mar 2003 20:37:51 -0000 1.31
+++ pcm_dmix.c 19 Mar 2003 12:27:43 -0000 1.32
@@ -210,7 +210,7 @@
sample = -0x800000;
else
sample = old_sample;
- *dst = sample;
+ *dst = sample << 8;
} while (*sum != old_sample);
((char *)src) += src_step;
((char *)dst) += dst_step;
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog