[alsa-devel] Use of snd_pcm_format_set_silence

Ankhit Vivekananda ankhit.vivekananda at biscotti.com
Thu Jan 21 17:29:45 CET 2016


Hello Clemens,

Thank you very much for the confirmation.

Regards,
Ankhit

On Thu, Jan 21, 2016 at 1:43 AM, Clemens Ladisch <clemens at ladisch.de> wrote:

> Ankhit Vivekananda wrote:
> > the snd_pcm_format_set_silence() would simply /replace/ the actual
> > buffer read from snd_pcm_readi() to zeros(since my application is
> > using signed 32 bit little endian format).
>
> Yes.
>
> > There would be no delay induced in doing so.
>
> Yes; this function does not block.
>
>
> Regards,
> Clemens
>


More information about the Alsa-devel mailing list