Set the silence data on the buffer
int snd_pcm_format_set_silence(snd_pcm_format_t format, void * data, unsigned int samples);
format
the PCM format
data
the buffer pointer
samples
the number of samples to set silence
Sets the silence data on the buffer for the given samples.
Zero if successful, or a negative error code on failure.