Problems with snd_pcm_writei() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm modifying an application that calls snd_pcm_writei() function from
libasound2-dev (on verstion 1.0.16-2). I does work.

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.
I tried to add zeroed bytes to complete the buffer but it didn't work.
I tried to ignore the last buffer and it worked but with some side
effects: No other operation worked properly after that.

Please, can anyone help?
Thanks in advance.
Regards,
Douglas
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux