Fixed missing mask initialization

This commit is contained in:
Abramo Bagnara 2001-01-09 19:35:52 +00:00
parent 924fa1704a
commit 7b49188c03

View file

@ -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);