summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLeo Prikler <leo.prikler@student.tugraz.at>2020-01-10 02:48:21 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-01-11 18:18:51 +0100
commitf6f918113052fe781fa7a1c4c6b666b5aa57c834 (patch)
tree1d595c2f2d103b87032a242685e6403fa3550b39 /gnu/services
parentf547426200d5547268d4a4a8f51c913072fa622f (diff)
downloadpatches-f6f918113052fe781fa7a1c4c6b666b5aa57c834.tar
patches-f6f918113052fe781fa7a1c4c6b666b5aa57c834.tar.gz
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>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/sound.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm
index 0ac96a02ad..4ec6120ac7 100644
--- a/gnu/services/sound.scm
+++ b/gnu/services/sound.scm
@@ -114,7 +114,10 @@ ctl.!default {
(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