OSDN Git Service
(root)
/
android-x86
/
external-alsa-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924fa17
)
Fixed missing mask initialization
author
Abramo Bagnara
<abramo@alsa-project.org>
Tue, 9 Jan 2001 19:35:52 +0000
(19:35 +0000)
committer
Abramo Bagnara
<abramo@alsa-project.org>
Tue, 9 Jan 2001 19:35:52 +0000
(19:35 +0000)
aplay/aplay.c
patch
|
blob
|
history
diff --git
a/aplay/aplay.c
b/aplay/aplay.c
index
284eea7
..
d3887e6
100644
(file)
--- a/
aplay/aplay.c
+++ b/
aplay/aplay.c
@@
-721,6
+721,7
@@
static void set_params(void)
}
if (mmap_flag) {
mask_t *mask = alloca(mask_sizeof());
+ mask_none(mask);
mask_set(mask, SND_PCM_ACCESS_MMAP_INTERLEAVED);
mask_set(mask, SND_PCM_ACCESS_MMAP_NONINTERLEAVED);
mask_set(mask, SND_PCM_ACCESS_MMAP_COMPLEX);