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:
0908dac
)
Fixed silence for 24-bit format
author
Jaroslav Kysela
<perex@perex.cz>
Sun, 11 Nov 2001 19:19:02 +0000
(19:19 +0000)
committer
Jaroslav Kysela
<perex@perex.cz>
Sun, 11 Nov 2001 19:19:02 +0000
(19:19 +0000)
src/pcm/pcm_misc.c
patch
|
blob
|
history
diff --git
a/src/pcm/pcm_misc.c
b/src/pcm/pcm_misc.c
index
7811b7d
..
a33375d
100644
(file)
--- a/
src/pcm/pcm_misc.c
+++ b/
src/pcm/pcm_misc.c
@@
-435,7
+435,7
@@
int snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int
{
if (samples == 0)
return 0;
- switch (snd_pcm_format_width(format)) {
+ switch (snd_pcm_format_
physical_
width(format)) {
case 4: {
u_int8_t silence = snd_pcm_format_silence_64(format);
unsigned int samples1;