+Define.SPDIFIndex "3"
+
+If.asus-rog-usb {
+ Condition {
+ Type RegexMatch
+ String "${CardComponents}"
+ Regex "USB(0b05:1996)"
+ }
+ True.Define.SPDIFIndex "2"
+}
+
SectionDevice."Speaker" {
Comment "Speakers"
Value {
Comment "S/PDIF Out"
Value {
PlaybackPriority 100
- PlaybackPCM "hw:${CardId},3"
+ PlaybackPCM "hw:${CardId},${var:SPDIFIndex}"
PlaybackMixerElem "IEC958"
}
}
cset "name='Mic Capture Switch' on"
]
- Comment "Microphone"
+ Comment "Front Microphone"
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"
+ }
}
Comment "USB-audio on Realtek ALC4080"
SectionUseCase."HiFi" {
File "/USB-Audio/Realtek/ALC4080-HiFi.conf"
- Comment "Default Alsa Profile"
+ Comment "Play HiFi quality Music"
}