18 Nov
2010
18 Nov
'10
7:43 a.m.
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@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.