Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to configure mplayer conf so that the player's default volume is not 25%. I have to increase the volume via the keyboard with every song/flick. I can only find solutions that simply over-pushing the soundcard...

share|improve this question

You can run mplayer with the -af flag:

mplayer -af volume=10:1

where the value 10 means the sound is amplified by 10dB

To set this, edit the mplayer configuration file:

 ~/.mplayer/config

add the option:

af=volume=10:1

The af flag alters the hardware volume. If this doesn't work, you can try specifying the software mixer, and altering the software volume with the options:

softvol=yes
softvol-max=1000
share|improve this answer
    
appears that -af volume=10:1 avoids using a software mixer at all, which allows mutes to work better than using softvol. Thanks for the tip! – rogerdpack Dec 27 '12 at 0:48

You must log in to answer this question.