SND_DMA_RESERVE_BUF

Section: Management of Cards and Device (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

snd_dma_reserve_buf - reserve the buffer  

SYNOPSIS

int snd_dma_reserve_buf(struct snd_dma_buffer * dmab, unsigned int id);
 

ARGUMENTS

dmab

the buffer to reserve

id

the buffer id
 

DESCRIPTION

Reserves the given buffer as a reserved buffer.

Returns zero if successful, or a negative code at error.  

COPYRIGHT