BB-xM + Angstrom + Pulseaudio / proper dmix. Anybody?

I'd like to be able to play multiple things on my BB-xM. I've tried
setting up dmix but it didn't work. I've tried to setup PulseAudio but
failed misserably.

Could anybody confirm if he got this working and share his
configuration with me?

Thanks in advance, please CC me as I'm not actively observing group traffic.

Regards,
Dawid

After careful investigation I've found the issue with dmix and the
following seems to be working perfectly fine:

$ sudo cat /etc/asound.conf
# default angstrom configuration
pcm.ossmix {
    type dmix
    ipc_key 1024 # must be unique!
    ipc_key_add_uid false # let multiple users share
    ipc_perm 0666 # IPC permissions for multi-user sharing
(octal, default 0600)
    slave {
        pcm "hw:0,0" # you cannot use a "plug" device here, darn.
        period_time 0
        period_size 1024 # must be power of 2
        buffer_size 8192 # dito. It
       #format "S32_LE"
       #periods 128 # dito.
       #rate 8000 # with rate 8000 you *will* hear,
       # if ossmix is used :slight_smile:
    }
    # bindings are cool. This says, that only the first
    # two channels are to be used by dmix, which is
    # enough for (most) oss apps and also lets
    # multichannel chios work much faster:
    bindings {
        0 0 # from 0 => to 0
        1 1 # from 1 => to 1
    }
}
pcm.dsp0 {
    type plug
    slave.pcm "ossmix" # use our new PCM here
}
# mixer0 like above
ctl.mixer0 {
    type hw
    card 0
}

# You may want to make your new ossmix the default for alsa.
# If your alsa programs are complaining that they can't open
# your sound devices, try uncommenting this next line
pcm.default pcm.dsp0