---
name: "snd_pcm_lib_free_pages"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/snd_pcm_lib_free_pages"
---

# snd\_pcm\_lib\_free\_pages(9)

release the allocated DMA buffer.

## NAME

snd\_pcm\_lib\_free\_pages - release the allocated DMA buffer.

## SYNOPSIS

**int snd\_pcm\_lib\_free\_pages(struct snd\_pcm\_substream \*** *substream***);**

## ARGUMENTS

*substream*

the substream to release the DMA buffer

## DESCRIPTION

Releases the DMA buffer allocated via **snd\_pcm\_lib\_malloc\_pages**.

## RETURN

Zero if successful, or a negative error code on failure.

## COPYRIGHT
