[pulseaudio-discuss] Volume Restore

Lennart Poettering lennart at poettering.net
Mon Oct 12 12:40:01 PDT 2009

On Tue, 06.10.09 07:03, Sean McNamara (smcnam at gmail.com) wrote:

> Hello,
> On Tue, Oct 6, 2009 at 6:45 AM, Nasa <nasa01 at comcast.net> wrote:
> > Hi,
> >
> > I am having some issues with volume being set to 100% everytime I start mplayer.  Basically what happens is I start application (mplayer) which is set initially at 100% (blowing my ears out :} ), I use my remote (via usb-uirt and lirc) to reduce the volume to something reasonable and after a little bit of listening I shutdown the system.  Upon restarting the system and starting the application, the volume is once again set to 100% -- until I use the remote, once I hit the down volume button (which is set to 5) volume adjust to (what seems like) slightly less than what I had it before.  It looks like the volume is being set to 5 below the last volume setting.  Is there any way to have the volume reset to the appropriate level, before mplayer starts playing?  Thanks
> >
> > Nasa
> I would be very interested in hearing of a way to fix this without the
> workaround I'm about to suggest, but the first thing I do when I
> install pulseaudio (or a distro using it) is to disable flat volumes,
> which is the feature that seems to cause this. It's an option in
> daemon.conf. I'm not sure if this is a bug or just user error on your
> part (as well as mine), but I don't appreciate PA messing with my ALSA
> mixer controls at all. Disabling flat volumes seems to restore the
> older behavior of not messing with them, like how it was in e.g. PA
> 0.9.10. I can then set my ALSA mixer to listenable volumes, and still
> adjust PA stream volumes relative to one another. Does disabling flat
> volumes help with your issue too, or am I misunderstanding your
> issue?

You probably are, as you at least are misunderstanding the flat vols...

> There might be a more robust or correct way of fixing this while
> keeping flat volumes enabled; hopefully someone will explain it here.
> If they do, I will add this to the FAQ on the PA wiki.

I'd appreciate if you'd keep anti-PA FUD out of the FAQ. Thanks.


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the pulseaudio-discuss mailing list