Ubuntu

Comment 11 for bug 871808

You probably need to kill pulseaudio:

echo autospawn = no >> ~/.pulse/client.conf
killall pulseaudio

Also check with

sudo fuser -v /dev/snd/*

for other processes currently using sound cards.