[alsa-devel] Playback - Overwrite buffer with silence

Nilhcraiv nilhcraiv at gmail.com
Mon Apr 13 16:45:23 CEST 2015


Clemens wrote:
    It is impossible for the boundar to be zero.

In my code snd_pcm_sw_params_get_boundary(swparams, &boundary) function 
does not return a negative value and the boundary variable is set to zero 
then, the boundar is zero.

In any case, How I can put silence in buffer to avoid underrun? Do you know 
the answer?

Thank you in advance.




More information about the Alsa-devel mailing list