---
name: "snd_dma_reserve_buf"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_dma_reserve_buf"
---

# snd\_dma\_reserve\_buf(9)

reserve the buffer

## 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
