This hasn’t worked for me since 2006!
This is what I did:
1) Open up a terminal and enter in the following:
gedit ~/.asoundrc
2) Copy and paste the following into the file:
pcm.dsp0 {
type plug
slave.pcm “dmix”
}
ctl.mixer0 {
type hw
card 0
}
Save and exit.
2) Restart the sound server:
sudo /etc/init.d/alsa-utils restart
Now I can play sound in Amarok and Audacity at the same time. Not that I ever need to…but I’m tired of opening Audacity while Amarok closes and not being able to play any sound!