[alsa-devel] Playback - Overwrite buffer with silence

Clemens Ladisch clemens at ladisch.de
Wed Apr 15 21:40:42 CEST 2015


Nilhcraiv wrote:
> To set the Buffer size and Periord size I have use the
> snd_pcm_hw_params_set_period_size_near() and
> snd_pcm_hw_params_set_buffer_size_near() functions. If I do not use
> the ...near() functions, I return errors.

The allowed values of the hardware parameters depend on the hardware's
capabilities.


Regards,
Clemens


More information about the Alsa-devel mailing list