25 May
2010
25 May
'10
5:35 a.m.
Also, why are mmap and munmap operations required in ALSA? Right now, we do not have mmap and munmap operations exposed. Though the hardware constraints have "SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_MMAP_VALID" defined. Looks like, if we have to PulseAudio on top, mmap operations are required in ALSA.
mmap operations are not required by PulseAudio. Look at pulseaudio/src/modules/alsa/alsa*.c, there's a mmap_write and a unix_write.