services: pulseaudio-configuration: Set flat-volumes to no.

* gnu/services/sound (pulseaudio-configuration) [daemon-conf]: Disable
flat-volumes, which causes unpleasant experiences to users when applications
inadvertently max out the system volume (e.g. as in #38172).

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Leo Prikler 2020-01-10 02:48:21 +01:00 committed by Marius Bakke
parent f547426200
commit f6f9181130
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -114,7 +114,10 @@ (define-record-type* <pulseaudio-configuration>
(client-conf pulseaudio-client-conf
(default '()))
(daemon-conf pulseaudio-daemon-conf
(default '()))
;; Flat volumes may cause unpleasant experiences to users
;; when applications inadvertently max out the system volume
;; (see e.g. <https://bugs.gnu.org/38172>).
(default '((flat-volumes . no))))
(script-file pulseaudio-script-file
(default (file-append pulseaudio "/etc/pulse/default.pa")))
(system-script-file pulseaudio-system-script-file