ranjith vs wrote: > snd_pcm_writei: Assertion `pcm' failed. > > what might be the reasons for that You called snd_pcm_writei with a NULL pcm pointer. > and is there any solutions. Remove that bug from your program. Regards, Clemens