Subject: bug#39054: closed (Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 11 Jan 2020 17:24:02 +0000

Your bug report

#39053: [PATCH 2/3] services: pulseaudio-service-type: Honor /etc.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
39053: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=39053
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#39053] [PATCH] Add pulseaudio configuration and fix volume bugs
From: Marius Bakke <[email-masked]>
To: Leo Prikler <[email-masked]>, [email-masked]
Cc: [email-masked]
Date: Sat, 11 Jan 2020 18:23:26 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Leo Prikler <[email-masked]> writes:

> This series of patches adds a configuration type for pulseaudio and also fixes
> a bug, where various applications would inadvertently max out the system volume
> (see e.g. #38172).

Thanks!  I've pushed the patches with mentioned tweaks in
2c7511fb6..71e33e32f.

Subject: [PATCH 2/3] services: pulseaudio-service-type: Honor /etc.
From: Leo Prikler <[email-masked]>
To: [email-masked]
Date: Thu, 9 Jan 2020 14:57:45 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/services/sound (pulseaudio-environment): Add PULSE_CONFIG and
PULSE_CLIENTCONFIG.
---
 gnu/services/sound.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/services/sound.scm b/gnu/services/sound.scm
index f01d958ce7..859aa9c16d 100644
--- a/gnu/services/sound.scm
+++ b/gnu/services/sound.scm
@@ -119,8 +119,10 @@ ctl.!default {
 (define (pulseaudio-environment config)
   ;; Define this variable in the global environment such that
   ;; pulseaudio swh-plugins works.
-  `(("LADSPA_PATH"
-     . ,(file-append swh-plugins "/lib/ladspa"))))
+  `(("LADSPA_PATH" . ,(file-append swh-plugins "/lib/ladspa"))
+    ;; Define these variables, so that pulseaudio honors /etc.
+    ("PULSE_CONFIG" . "/etc/pulse/daemon.conf")
+    ("PULSE_CLIENTCONFIG" . "/etc/pulse/client.conf")))
 
 (define (pulseaudio-conf-entry arg)
   (match arg
-- 
2.24.1