2 Jun
2009
2 Jun
'09
8:45 p.m.
Hi,
I'm trying to develop one application using alsa lib. The application receives encoded sound data from a udp socket and decodes the data and write it to device. Is it possible to set the buffer length for alsa?. In my application i have a short array of size 6000 to keep the decoded data and decoded data length is 5120. What period size i should set. It always set 940 frames. When i used the OSS calls, it works fine. When i used the alsa lib it gives underrun. How can i resolve this?
Thanks, -Renju