I noticed that some people have problems with the alsa plug-in in MPlayer and so did I. I managed to fix it.
To fix this problem you should open .mplayer/gui.conf in your home directory and change these lines
Code:
ao_oss_mixer = "/dev/mixer"
ao_oss_device = "/dev/dsp"
to
Code:
ao_oss_mixer = "mixer"
ao_oss_device = "dsp"
Next you should edit /etc/asound.conf like this
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
}
}
pcm.dsp {
type plug
slave.pcm "swmixer"
}
ctl.mixer {
type hw
card 0
}
The text in bold must have. The other text adds "listening to different sound files at the same time" support (read more
here).
This must help!
EDIT
If you don't have /etc/asound.conf file, you should create it (by default this file does not exist).