42 lines
1.5 KiB
Diff
42 lines
1.5 KiB
Diff
From: Hector Palacios <hector.palacios@digi.com>
|
|
Date: Mon, 2 Jan 2017 13:11:02 +0100
|
|
Subject: [PATCH] pulseaudio: keep headphones volume in platforms without jack
|
|
detection
|
|
|
|
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
|
|
---
|
|
src/modules/alsa/mixer/paths/analog-output-headphones.conf | 4 ++--
|
|
src/modules/alsa/mixer/paths/analog-output-speaker.conf | 4 ++--
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/src/modules/alsa/mixer/paths/analog-output-headphones.conf b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
|
|
index 88907f081..7c94fa57d 100644
|
|
--- a/src/modules/alsa/mixer/paths/analog-output-headphones.conf
|
|
+++ b/src/modules/alsa/mixer/paths/analog-output-headphones.conf
|
|
@@ -88,8 +88,8 @@ override-map.2 = all-left,all-right
|
|
|
|
[Element Headphone]
|
|
required-any = any
|
|
-switch = mute
|
|
-volume = merge
|
|
+switch = on
|
|
+volume = ignore
|
|
override-map.1 = all
|
|
override-map.2 = all-left,all-right
|
|
|
|
diff --git a/src/modules/alsa/mixer/paths/analog-output-speaker.conf b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
|
|
index fcf2f5c2f..822c9e39c 100644
|
|
--- a/src/modules/alsa/mixer/paths/analog-output-speaker.conf
|
|
+++ b/src/modules/alsa/mixer/paths/analog-output-speaker.conf
|
|
@@ -91,8 +91,8 @@ volume = off
|
|
; This profile path is intended to control the speaker, let's mute headphones
|
|
; else there will be a spike when plugging in headphones
|
|
[Element Headphone]
|
|
-switch = off
|
|
-volume = off
|
|
+switch = on
|
|
+volume = ignore
|
|
|
|
[Element Headphone,1]
|
|
switch = off
|