[alsa-devel] While writing to speaker sometimes segmentation fault comes.

ranjith vs ranjithvs at iwavesystems.com
Fri Nov 22 06:21:15 CET 2013


Hello,

     I am streaming audio from vlc,in the following formats sampling frequency 44100 stereo 16 bit.On the receiver side receiveing pcm frames
and writing to speaker using alsa interface. But sometimes i'm getting segmentation fault in the snd_pcm_writei function. And one more thing is that eventhough I try to set the buffer size to 4096. It is setting it's own value.But i'm writing the buffer of length which I received from pcm_avail_upadte function.


Thanks & Regards,

Ranjith


More information about the Alsa-devel mailing list