[alsa-devel] snd_pcm_format_set_silence parameter

Guilherme Longo grlongo.ireland at gmail.com
Mon Jul 6 15:26:44 CEST 2009


Mates,

What exactly does snd_pcm_format_set_silence is useful for???


That is the code:

if (count < chunk_size)    {
        snd_pcm_format_set_silence(hwparams.format, data + count * 
bits_per_frame / 8, (chunk_size - count) * hwparams.channels);
        count = chunk_size;
    }

Could I get some help?
Thanks


More information about the Alsa-devel mailing list