mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 20:35:42 +01:00
Fixed missing mask initialization
This commit is contained in:
parent
924fa1704a
commit
7b49188c03
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue