SND_DMA_SET_RESERVED

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

 

NAME

snd_dma_set_reserved - reserve the buffer  

SYNOPSIS

"SYNOPSIS"

int snd_dma_set_reserved (const struct snd_dma_device * dev, struct snd_dma_buffer * dmab);  

ARGUMENTS

dev
the buffer device info
dmab
the buffer to reserve
 

DESCRIPTION

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.

When NULL buffer pointer or zero buffer size is given, the existing buffer is released and the entry is removed.

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


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 13:31:51 GMT, October 06, 2005