On Thu, 18 Nov 2010, Irfan Shaikh wrote: > Hello All, > > Replacing snd_pcm_writei with snd_pcm__mmap_writei gives SEGFAULT in My code. > Works fine with pcm.c. Can ANyone help me on FINDING OUT WHAT MAY BE CAUSE OF SEGFAULT ? > Is any thing specific required for MMAP Write ???? Set SND_PCM_ACCESS_MMAP_INTERLEAVED instead SND_PCM_ACCESS_RW_INTERLEAVED. Jaroslav ----- Jaroslav Kysela <perex@xxxxxxxx> Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel