[pulseaudio-discuss] ALSA pulse plugin & SND_PCM_ACCESS_MMAP_INTERLEAVED

Lennart Poettering lennart at poettering.net
Mon Aug 27 05:54:53 PDT 2007

On Thu, 23.08.07 10:12, Ermanno Scaglione (erm67 at yahoo.it) wrote:

> Thank you for your answer,it helped a lot, and sorry for the double
> post....
> No it doesn't work with padsp either, it says '/dev/dsp cannot be
> mmap'ed'. I even tried to modify the code commenting out all
> snd_mmap_commit and setting the parameter ro
> SND_PCM_ACCESS_RW_INTERLEAVED but no luck... segmentation fault.
> dmix seems to be the only solution.
> Anyway it's only a game .....

It's always the same issue. We cannot reliably emulate mmap'ed audio
device access. Neither with ALSA nor with OSS.

It's not a problem specific to PA. It's the same issue with almost any
non-hw driver for libasound.


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the pulseaudio-discuss mailing list