table of contents
other versions
- wheezy 3.2.78-1
SND_PCM_LIB_MALLOC_P(9) | Sound Devices | SND_PCM_LIB_MALLOC_P(9) |
NAME¶
snd_pcm_lib_malloc_pages - allocate the DMA bufferSYNOPSIS¶
int
snd_pcm_lib_malloc_pages(struct snd_pcm_substream * substream,
size_t size);
ARGUMENTS¶
substreamthe substream to allocate the DMA buffer
to
size
the requested buffer size in bytes
DESCRIPTION¶
Allocates the DMA buffer on the BUS type given earlier to snd_pcm_lib_preallocate_xxx_pages. Returns 1 if the buffer is changed, 0 if not changed, or a negative code on failure.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |