Man Page: snd_pcm_lib_malloc_pages
Operating Environment: centos
Section: 9
SND_PCM_LIB_MALLOC_P(9) PCM API SND_PCM_LIB_MALLOC_P(9)NAMEsnd_pcm_lib_malloc_pages - allocate the DMA bufferSYNOPSISint snd_pcm_lib_malloc_pages(struct snd_pcm_substream * substream, size_t size);ARGUMENTSsubstream the substream to allocate the DMA buffer to size the requested buffer size in bytesDESCRIPTIONAllocates the DMA buffer on the BUS type given earlier to snd_pcm_lib_preallocate_xxx_pages.RETURN1 if the buffer is changed, 0 if not changed, or a negative code on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SND_PCM_LIB_MALLOC_P(9)