Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.