SND_PCM_LIB_MALLOC_PAGES

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

snd_pcm_lib_malloc_pages - allocate the DMA buffer  

SYNOPSIS

"SYNOPSIS"

int snd_pcm_lib_malloc_pages (snd_pcm_substream_t * substream, size_t size);  

ARGUMENTS

substream
the 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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:51 GMT, October 09, 2005