For must crappy sound cards that do not support hardware mixing, it may be necessary to configure also to perform software mixing so that MPD and Gnome don't fight over control of the sound card.
sudo gedit /etc/asound.conf
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1234
ipc_key_add_uid false
ipc_perm 0666 # mixing for all users
slave {
pcm "hw:0,0" # use on board sound card ("aplay -l" might help your figure this out)
period_time 0
period_size 1024
buffer_size 4096
#rate 44100
}
}
