---
name: "snd_pcm_set_runtime_buffer"
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_set_runtime_buffer"
---

# snd\_pcm\_set\_runtime\_buffer(9)

Set the PCM runtime buffer

## NAME

snd\_pcm\_set\_runtime\_buffer - Set the PCM runtime buffer

## SYNOPSIS

**void snd\_pcm\_set\_runtime\_buffer(struct snd\_pcm\_substream \*** *substream***, struct snd\_dma\_buffer \*** *bufp***);**

## ARGUMENTS

*substream*

PCM substream to set

*bufp*

the buffer information, NULL to clear

## DESCRIPTION

Copy the buffer information to runtime-\>dma\_buffer when *bufp* is non-NULL. Otherwise it clears the current buffer information.

## COPYRIGHT
