Sunday, November 21, 2010

No sound in mplayer

Suddenly mplayer stopped to play audio on my Ubuntu Maverick installation. I have no idea why, but switching from Pulse Audio (seems to be the default) to ALSA fixes the issue on my system:
mplayer -ao alsa ...

To make this permanent, add the following to your ~/.mplayer/config file:
ao=alsa