[pulseaudio-tickets] [PulseAudio] #774: allow overriding of hardware volume range

PulseAudio trac-noreply at tango.0pointer.de
Wed Jan 13 21:31:57 PST 2010


#774: allow overriding of hardware volume range
---------------------------------+------------------------------------------
  Reporter:  patrakov at gmail.com  |       Owner:  lennart
      Type:  enhancement         |      Status:  new    
 Milestone:                      |   Component:  daemon 
Resolution:                      |    Keywords:         
---------------------------------+------------------------------------------

Comment(by patrakov at gmail.com):

 Udev-based configuration of volume limits would indeed work for my use
 case. However, it global in the system and is not user-friendly, and thus
 some discussion is needed whether it is OK and whether better solutions
 exist. Note that the desired limits depend on the sensitivity of
 headphones and thus will be different even for users of the same type of
 sound cards.

 I understand that volume control application and mplayer have the same
 rights. Thus, within the solution proposed above, it is indeed impossible
 to protect against malice in mplayer (IOW, strictly enforce policy). After
 all, a malicious program can access ALSA mixer API directly and thus
 defeat the limits even if they are set by udev rules. What I want is
 protection against accidents. And I think that a separate API for setting
 volume limits (clearly documented as "for use only in mixer applications")
 would be enough for this protection.

 BTW, if you (or one of your friends) have and a fifth-generation iPod,
 please look how the volume limits UI is organized there.

-- 
Ticket URL: <http://pulseaudio.org/ticket/774#comment:2>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list