We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77aa640 commit 4747bacCopy full SHA for 4747bac
ucm-config/for_all_boards_ucm2/sof-hda-dsp/HiFi.conf
@@ -165,9 +165,21 @@ SectionDevice."Speaker".0 {
165
}
166
167
SectionDevice."Mic".0 {
168
+ If.jackname {
169
+ Condition {
170
+ Type ControlExists
171
+ Control "iface=CARD,name='Headphone Mic Jack'"
172
+ }
173
+ True.Define {
174
+ miccontrol "Headphone Mic Jack"
175
176
+ False.Define {
177
+ miccontrol "Mic Jack"
178
179
180
Value {
181
CapturePCM "hw:sofhdadsp,0"
- JackDev "sof-hda-dsp Mic"
182
+ JackControl "${var:miccontrol}"
183
184
If.captureswitch {
185
Condition {
0 commit comments