You should configure the software to use Alsa (e.g. choose the Alsa output plugin your music player).
For XMMS, choosing the ALSA plugin wasn't enough for me. I have the following ~/.asoundrc file:
Code:
pcm.!default {
type plug
slave.pcm "swmixer"
}
pcm.swmixer {
type dmix
ipc_key 1234
slave {
pcm "hw:0,0"
period_time 0
period_size 1024
buffer_size 4096
rate 44100
}
}
Then I choose "swmixer" as the sound device in XMMS ALSA plugin configuration Window. That way, it doesn't block the Flash video sound for example.
For old software that don't support ALSA at all, you can use the "aoss" wrapper. Call the command as
and it will use ALSA.