If mplayer is displaying errors messages quite often like this one : “audio device got stuck”, here is a workaround. Add the following option :
How to find the information following the -ao option?
ALSA utility aplay may help you :
fool@localhost:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]
Subdevice #0: subdevice #0
As indicated here (using ALSA device within mplayer) , to use this only ALSA device available on this host, you have to type : alsa:device=hw=0.0
No more use of pulseaudio for mplayer. The program is accessing ALSA layer directly.