From a84d3821dc14a7c5027783e40afbf20bee500bee Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 10 Dec 2019 19:40:50 +0100 Subject: [PATCH] initialize volumes --- ucm2/sof-hda-dsp/HiFi.conf | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/ucm2/sof-hda-dsp/HiFi.conf b/ucm2/sof-hda-dsp/HiFi.conf index 626444f..a97b34f 100644 --- a/ucm2/sof-hda-dsp/HiFi.conf +++ b/ucm2/sof-hda-dsp/HiFi.conf @@ -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 -- 2.47.1