Bug 908991

Summary: Poor choice of default value for 'flat-volumes' config parameter...
Product: [Fedora] Fedora Reporter: Valdis Kletnieks <valdis.kletnieks>
Component: pulseaudioAssignee: Lennart Poettering <lpoetter>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: brendan.jones.it, lkundrak, lpoetter, rdieter
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-08 04:34:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Valdis Kletnieks 2013-02-08 01:10:28 UTC
Description of problem:
Pulseaudio added a new config setting:

       flat-volumes=  Enable  'flat' volumes, i.e. where possible let the sink
       volume equal the maximum of the volumes of the inputs connected to  it.
       Takes a boolean argument, defaults to yes.

The upshot of this is that if you have set your master volume to 45% for some reason like "other people are trying to sleep" or "you are wearing headphones and that's a good volume" or to 5% because you're in a library and want alert sounds to be just barely loud enough for you to hear, and you start up *any* process that tries to set its own audio volume to 100% (like the default behavior of Banshee), you suddenly find yourself WITH AN EARFUL OF VERY LOUD STUFF.

Who thought this was a good default behavior??!?  (And no, "fix Banshee" is *NOT* the right answer here - we shouldn't have to hunt down and fix every single client program to work around a poor choice of defaults in the daemon.

Version-Release number of selected component (if applicable):
pulseaudio-3.0-5.fc19.x86_64

How reproducible:
Set master volume to 30% using alsamixer or other tool.
Start Banshee and hit 'play' on something.
Stand back and be amazed.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Valdis Kletnieks 2013-02-08 01:12:41 UTC
*** Bug 868077 has been marked as a duplicate of this bug. ***

Comment 2 Rex Dieter 2013-02-08 04:33:07 UTC
Just my opinion, but apps that reset the global volume are misbehaving (badly).

Comment 3 Rex Dieter 2013-02-08 04:34:36 UTC
and I have doubts any PA maintainer would entertain changing this upstream default, closing

Comment 4 Valdis Kletnieks 2013-02-11 15:51:41 UTC
"apps that reset the global volume are misbehaving (badly)"

Totally agree - which is why flat-volumes= is such a design crock - the only use I can see for it is to allow badly misbehaving apps to screw with the global volume.