OSDN Git Service
(root)
/
android-x86
/
external-alsa-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc28ecc
)
Corrected universal 32-bit mixing routine
author
Jaroslav Kysela
<perex@perex.cz>
Wed, 19 Mar 2003 12:27:43 +0000
(12:27 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Wed, 19 Mar 2003 12:27:43 +0000
(12:27 +0000)
src/pcm/pcm_dmix.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_dmix.c
b/src/pcm/pcm_dmix.c
index
3c5593c
..
41c4b52
100644
(file)
--- a/
src/pcm/pcm_dmix.c
+++ b/
src/pcm/pcm_dmix.c
@@
-210,7
+210,7
@@
static void mix_areas2(unsigned int size,
sample = -0x800000;
else
sample = old_sample;
- *dst = sample;
+ *dst = sample
<< 8
;
} while (*sum != old_sample);
((char *)src) += src_step;
((char *)dst) += dst_step;