[alsa-devel] Problems with snd_pcm_writei() function

Clemens Ladisch clemens at ladisch.de
Fri Oct 23 09:39:51 CEST 2009


Douglas Lopes Pereira wrote:
> I'm splitting my audio data into 160 bytes buffers but when buffer
> with different size is passed to that function I hear a noise (like
> 'Krrr') on my audio device.

Do you actually pass the correct number of frames?

How do you manage the timing of the snd_pcm_writei() calls?


Best regards,
Clemens


More information about the Alsa-devel mailing list