]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
initialize volumes old-sof-hda-dsp-volumes
authorJaroslav Kysela <perex@perex.cz>
Tue, 10 Dec 2019 18:40:50 +0000 (19:40 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 10 Dec 2019 18:50:33 +0000 (19:50 +0100)
ucm2/sof-hda-dsp/HiFi.conf

index 626444f3b866d46821432ee069830c7d42124526..a97b34f6ecea3310d9fa1f5ceb78ad5bd20511ca 100644 (file)
@@ -3,7 +3,12 @@
 SectionVerb {
        EnableSequence [
                cset "name='Auto-Mute Mode' 'Disabled'"
-               case "name='Mic Boost Volume' 100"
+               cset "name='Master Playback Volume' 100"
+               cset "name='Speaker Playback Volume' 100"
+               cset "name='Headphone Playback Volume' 100"
+               cset "name='Capture Volume' 50"
+               cset "name='Mic Boost Volume' 100"
+               cset "name='Dmic0 Capture Volume' 100"
        ]
 }
 
@@ -141,19 +146,7 @@ SectionDevice."Mic" {
        Value {
                CapturePriority 100
                CapturePCM "hw:${CardId},6"
-               If.chn {
-                       Condition {
-                               Type String
-                               Haystack "${CardComponents}"
-                               Needle "cfg-dmics:4"
-                       }
-                       True {
-                               CaptureChannels "4"
-                       }
-                       False {
-                               CaptureChannels "2"
-                       }
-               }
+               CaptureChannels 4
                If.vol {
                        Condition {
                                Type ControlExists