OSDN Git Service

tegra: Add UCM for Nvidia Tegra HDMI Audio
[android-x86/external-alsa-ucm-conf.git] / ucm2 / sof-soundwire / rt715.conf
1 # Use case Configuration for sof-soundwire card
2
3 If.hwctl {
4         Condition {
5                 Type ControlExists
6                 Control "name='rt715 Capture Volume'"
7         }
8         True.Define.rt715ctl "rt715 Capture"
9         False.Define.rt715ctl "PGA5.0 5 Master Capture"
10 }
11
12 SectionDevice."Mic" {
13         Comment "SoundWire microphones"
14
15         EnableSequence [
16                 cset "name='${var:rt715ctl} Switch' 1"
17         ]
18
19         DisableSequence [
20                 cset "name='${var:rt715ctl} Switch' 0"
21         ]
22
23         Value {
24                 CapturePriority 100
25                 CapturePCM "hw:${CardId},4"
26                 CaptureSwitch "${var:rt715ctl} Switch"
27                 CaptureVolume "${var:rt715ctl} Volume"
28                 CaptureMixerElem "${var:rt715ctl}"
29         }
30 }