you can use alsa dmix plugin.
http://alsa.opensrc.org/index.php?page=DmixPlugin
heres my ~/.asoundrc
Code:
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1024
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 32768
#periods 128
#rate 44100
}
bindings {
0 0
1 1
}
}
ctl.mixer0 {
type hw
card 0
}
in xmms output configuration select ALSA, audio device - default and be sure to deselect mmap mode in advanced tab.
and for amsn select aplay for sound command(if it has such option).
and you should be able to hear notifications while xmms is playing.