Define.SPDIFIndex "3"
+Define.Mic1Name "Microphone"
If.asus-rog-usb {
Condition {
String "${CardComponents}"
Regex "USB(0b05:1996)"
}
- True.Define.SPDIFIndex "2"
+ True {
+ Define.SPDIFIndex "2"
+ Define.Mic1Name "Front Microphone"
+
+ SectionDevice."Mic2" {
+ # On ASUS ROG Maximus XIII and others, back microphone
+ Comment "Microphone"
+ Value {
+ CapturePriority 300
+ CapturePCM "hw:${CardId}"
+ JackControl "Mic - Input Jack"
+ CaptureMixerElem "Mic"
+ }
+ }
+ }
}
SectionDevice."Speaker" {
}
}
-SectionDevice."Mic" {
+SectionDevice."Mic1" {
EnableSequence [
cset "name='Mic Capture Switch' on"
]
- Comment "Front Microphone"
+ Comment "${var:Mic1Name}"
Value {
CapturePriority 200
CapturePCM "hw:${CardId},2"
JackControl "Mic - Input Jack"
CaptureMixerElem "Mic"
}
-
- # On ASUS ROG Maximus XIII and others, back microphone
- Comment "Microphone"
- Value {
- CapturePriority 300
- CapturePCM "hw:${CardId}"
- JackControl "Mic - Input Jack"
- CaptureMixerElem "Mic"
- }
}