.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SND_DMA_SET_RESERVED" "" "06 October 2005" "" "" .SH NAME snd_dma_set_reserved \- reserve the buffer .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int snd_dma_set_reserved (const struct snd_dma_device * \fIdev\fB, struct snd_dma_buffer * \fIdmab\fB); \fR .SH "ARGUMENTS" .TP \fB\fIdev\fB\fR the buffer device info .TP \fB\fIdmab\fB\fR the buffer to reserve .SH "DESCRIPTION" .PP Reserves the given buffer as a reserved buffer. When an old reserved buffer already exists, the old one is released and replaced with the new one. .PP When NULL buffer pointer or zero buffer size is given, the existing release buffer is released and the entry is removed. .PP Returns zero if successful, or a negative code at error.