Skip to content

Commit 9743c72

Browse files
macchianChromeos LUCI
authored and
Chromeos LUCI
committed
ucm2: sof-hda-dsp: update speaker volume
set the speaker volume as proportion instead. BUG=b:322732682 TEST=none Change-Id: I23274988b02aaf966a4b1ce996acff5c368ae5f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5319318 Reviewed-by: Terry Cheong <[email protected]> Tested-by: Mac Chiang <[email protected]> Commit-Queue: Terry Cheong <[email protected]>
1 parent 2c7240c commit 9743c72

File tree

1 file changed

+13
-3
lines changed
  • ucm-config/for_all_boards_ucm2/sof-hda-dsp

1 file changed

+13
-3
lines changed

ucm-config/for_all_boards_ucm2/sof-hda-dsp/HiFi.conf

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,25 @@ SectionVerb {
22
Value.FullySpecifiedUCM "1"
33

44
EnableSequence [
5-
cdev "hw:sofhdadsp"
6-
cset "name='Master Playback Switch' on"
7-
cset "name='Master Playback Volume' 75"
85
disdevall ""
96
]
107

118
DisableSequence [
129
]
1310

11+
If.master {
12+
Condition {
13+
Type ControlExists
14+
Control "name='Master Playback Volume'"
15+
}
16+
True {
17+
EnableSequence [
18+
cdev "hw:sofhdadsp"
19+
cset "name='Master Playback Volume' 86%"
20+
cset "name='Master Playback Switch' on"
21+
]
22+
}
23+
}
1424
If.amute {
1525
Condition {
1626
Type ControlExists

0 commit comments

Comments
 (0)