snd_pcm_set_runtime_buffer
Prev | PCM Core | Next

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

Prev | Up | Next
snd_pcm_format_cpu_endian | Home | snd_pcm_gettime