1SND_PCM_FORMAT_SET_S(9) PCM API SND_PCM_FORMAT_SET_S(9)
2
3
4
6 snd_pcm_format_set_silence - set the silence data on the buffer
7
9 int snd_pcm_format_set_silence(snd_pcm_format_t format, void * data,
10 unsigned int samples);
11
13 format
14 the PCM format
15
16 data
17 the buffer pointer
18
19 samples
20 the number of samples to set silence
21
23 Sets the silence data on the buffer for the given samples.
24
26 Zero if successful, or a negative error code on failure.
27
29Kernel Hackers Manual 3.10 June 2019 SND_PCM_FORMAT_SET_S(9)