mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:35:42 +01:00
Added snd_ prefix to mask and interval. Divided header.h wrappers
This commit is contained in:
parent
d1f96b62a8
commit
6f4c05c64a
1 changed files with 5 additions and 5 deletions
|
@ -728,11 +728,11 @@ static void set_params(void)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
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);
|
||||
snd_mask_t *mask = alloca(snd_mask_sizeof());
|
||||
snd_mask_none(mask);
|
||||
snd_mask_set(mask, SND_PCM_ACCESS_MMAP_INTERLEAVED);
|
||||
snd_mask_set(mask, SND_PCM_ACCESS_MMAP_NONINTERLEAVED);
|
||||
snd_mask_set(mask, SND_PCM_ACCESS_MMAP_COMPLEX);
|
||||
err = snd_pcm_hw_param_mask(handle, ¶ms,
|
||||
SND_PCM_HW_PARAM_ACCESS, mask);
|
||||
} else if (interleaved)
|
||||
|
|
Loading…
Reference in a new issue