OSDN Git Service
(root)
/
android-x86
/
external-alsa-ucm-conf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf267cc
)
HDA-Intel/HiFi-dual: Add EnableSequence and DisableSequence for Speaker and Headphones
author
Kai-Heng Feng
<kai.heng.feng@canonical.com>
Thu, 27 Aug 2020 13:18:13 +0000
(21:18 +0800)
committer
Jaroslav Kysela
<perex@perex.cz>
Wed, 16 Dec 2020 07:54:13 +0000
(08:54 +0100)
BugLink:
https://github.com/alsa-project/alsa-ucm-conf/pull/48
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
ucm2/HDA-Intel/HiFi-dual.conf
patch
|
blob
|
history
diff --git
a/ucm2/HDA-Intel/HiFi-dual.conf
b/ucm2/HDA-Intel/HiFi-dual.conf
index
cff948e
..
bacfd80
100644
(file)
--- a/
ucm2/HDA-Intel/HiFi-dual.conf
+++ b/
ucm2/HDA-Intel/HiFi-dual.conf
@@
-27,6
+27,14
@@
SectionDevice."Speaker" {
PlaybackMixerElem "Speaker"
}
+ EnableSequence [
+ cset "name='Speaker Playback Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='Speaker Playback Switch' off"
+ ]
+
ConflictingDevice [
"Headphones"
]
@@
-54,6
+62,14
@@
SectionDevice."Headphones" {
JackHWMute "Speaker"
}
+ EnableSequence [
+ cset "name='Headphone Playback Switch' on"
+ ]
+
+ DisableSequence [
+ cset "name='Headphone Playback Switch' off"
+ ]
+
ConflictingDevice [
"Speaker"
]