[alsa-devel] MMAP in ALSA

pl bossart bossart.nospam at gmail.com
Tue May 25 07:35:19 CEST 2010


> 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.


More information about the Alsa-devel mailing list