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.