From: Jaroslav Kysela Date: Thu, 28 Nov 2019 17:23:23 +0000 (+0100) Subject: sof-hda-dsp: add priority values X-Git-Tag: v1.2.1.2~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6e94fc52caaa39c2012210d2dbac029ec28738b9;p=alsa-ucm-conf.git sof-hda-dsp: add priority values From: Jaska Uimonen Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/sof-hda-dsp/Hdmi.conf b/ucm2/sof-hda-dsp/Hdmi.conf index a559bc6..7418fa7 100644 --- a/ucm2/sof-hda-dsp/Hdmi.conf +++ b/ucm2/sof-hda-dsp/Hdmi.conf @@ -12,6 +12,7 @@ SectionDevice."HDMI1" { ] Value { + PlaybackPriority 500 PlaybackPCM "hw:${CardId},3" PlaybackChannels "2" JackControl "HDMI/DP,pcm=3 Jack" @@ -30,6 +31,7 @@ SectionDevice."HDMI2" { ] Value { + PlaybackPriority 600 PlaybackPCM "hw:${CardId},4" PlaybackChannels "2" JackControl "HDMI/DP,pcm=4 Jack" @@ -48,6 +50,7 @@ SectionDevice."HDMI3" { ] Value { + PlaybackPriority 700 PlaybackPCM "hw:${CardId},5" PlaybackChannels "2" JackControl "HDMI/DP,pcm=5 Jack" diff --git a/ucm2/sof-hda-dsp/HiFi.conf b/ucm2/sof-hda-dsp/HiFi.conf index 97adbe5..8f1ee81 100644 --- a/ucm2/sof-hda-dsp/HiFi.conf +++ b/ucm2/sof-hda-dsp/HiFi.conf @@ -18,6 +18,7 @@ SectionDevice."Headphone" { ] Value { + PlaybackPriority 200 PlaybackPCM "hw:${CardId},0" PlaybackMixerElem "Headphone" PlaybackMixerMaster "Master" @@ -71,6 +72,7 @@ SectionDevice."Speaker" { } Value { + PlaybackPriority 100 PlaybackPCM "hw:${CardId},0" PlaybackMixerElem "Speaker" PlaybackMasterElem "Master" @@ -98,6 +100,7 @@ If.monomic { ] Value { + CapturePriority 200 JackControl "Headphone Mic Jack" } @@ -111,6 +114,7 @@ If.monomic { ] Value { + CapturePriority 300 JackControl "Headphone Mic Jack" } @@ -121,6 +125,7 @@ If.monomic { Comment "Headphone Stereo Microphone" Value { + CapturePriority 200 JackControl "Mic Jack" } @@ -136,6 +141,7 @@ SectionDevice."DigitalMic" { ] Value { + CapturePriority 100 CapturePCM "hw:${CardId},6" CaptureChannels "2" If.vol {