How can i solve the alsa underrun issue

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

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

  Powered by Linux