snd_pcm_format_set_silence(9)

snd_pcm_format_set_silence9

Set the silence data on the buffer

Usage

int snd_pcm_format_set_silence(snd_pcm_format_t format, void * data, unsigned int samples);

Arguments

format

the PCM format

data

the buffer pointer

samples

the number of samples to set silence

Overview

Sets the silence data on the buffer for the given samples.

Return

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

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.