This is a followup to Somehow managed to mute mplayer and can't figure out how to restore sound.

I've noticed that the sound level settings in mplayer are saved on exit. However, I can't figure out where they are saved. There are config files in the .mplayer directory, but none of them are being written to.

This is on Debian wheezy with mplayer version 2:1.0~rc4.dfsg1+svn3454.

  • I don't think mplayer saves the settings, but rather your driver. Please take a look at this link : lists.mplayerhq.hu/pipermail/mplayer-users/2012-February/… – user68468 May 24 '14 at 19:34
  • @NNzz Thanks for the comment, but I don't follow. I have no idea what the XVideo driver is. And how would the settings be saved in a driver? What driver? – Faheem Mitha May 24 '14 at 20:08
  • Pulse Audio is saving the settings, I thought I showed that in the A to the other Q. – slm May 25 '14 at 16:40
  • For the record, I don't think this question is a duplicate of my earlier (referenced) question. It was intended as a followup. – Faheem Mitha May 25 '14 at 17:19

PulseAudio stores stream state for each app independently. This lets you (for example) set your music player to a lower volume than your instant message alert tone, so you hear the IM alert over the music.

If you have PulseAudio's module-stream-restore loaded—and the default config loads it—, then these settings will be saved when you exit the program and loaded back when you start it again.

The settings are saved in ~/.pulse/…stream-volumes.tdb.

The easiest way to change them is by starting mplayer again, and then using one of the many PulseAudio UIs, e.g., command-line pactl, GUI pavucontrol, etc. to change it. If mplayer is using the PulseAudio mixer (likely), then you can also try m, 9, and 0 (mplayer's default mute and volume keys).

  • I thought I kinda showed/hinted to this in my A to the other Q? – slm May 25 '14 at 16:39
  • @slm yep. Feel free to VtC as a duplicate... – derobert May 25 '14 at 16:47

They would be saved in your alsa configuration (or the sound architecture you're using, e.g. pulseaudio; alsa is default in debian).


They might be in /etc/asound.state, see https://askubuntu.com/questions/50067/howto-save-alsamixer-settings.

  • 1
    Can you say which file they would be saved in, and why vlc and xine are unaffected? – Faheem Mitha May 24 '14 at 21:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.