22 Oct
2009
22 Oct
'09
7:34 p.m.
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