1SND_PCM_LIB_MALLOC_P(9)             PCM API            SND_PCM_LIB_MALLOC_P(9)
2
3
4

NAME

6       snd_pcm_lib_malloc_pages - allocate the DMA buffer
7

SYNOPSIS

9       int snd_pcm_lib_malloc_pages(struct snd_pcm_substream * substream,
10                                    size_t size);
11

ARGUMENTS

13       substream
14           the substream to allocate the DMA buffer to
15
16       size
17           the requested buffer size in bytes
18

DESCRIPTION

20       Allocates the DMA buffer on the BUS type given earlier to
21       snd_pcm_lib_preallocate_xxx_pages.
22
23       Returns 1 if the buffer is changed, 0 if not changed, or a negative
24       code on failure.
25
27Kernel Hackers Manual 2.6.         June 2019           SND_PCM_LIB_MALLOC_P(9)
Impressum