Re: snd_pcm_mmap_writei

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

 



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


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

  Powered by Linux