[alsa-devel] Use of snd_pcm_format_set_silence

Clemens Ladisch clemens at ladisch.de
Thu Jan 21 08:43:11 CET 2016


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