--- /dev/null
+SectionDevice."Speaker" {
+ Comment "Speakers"
+ Value {
+ PlaybackChannels 8
+ PlaybackPriority 200
+ PlaybackPCM "hw:${CardId}"
+ JackControl "Speaker - Output Jack"
+ PlaybackMixerElem "Speaker"
+ }
+}
+
+SectionDevice."Headphones" {
+ Comment "Front Headphones"
+ Value {
+ PlaybackPriority 300
+ PlaybackPCM "hw:${CardId},1"
+ JackControl "Headphone - Output Jack"
+ PlaybackMixerElem "Front Headphone"
+ }
+}
+
+SectionDevice."SPDIF" {
+ Comment "S/PDIF Out"
+ Value {
+ PlaybackPriority 100
+ PlaybackPCM "hw:${CardId},3"
+ PlaybackMixerElem "IEC958"
+ }
+}
+
+SectionDevice."Line" {
+ EnableSequence [
+ cset "name='Line Capture Switch' on"
+ ]
+
+ Comment "Line In"
+ Value {
+ CapturePriority 100
+ CapturePCM "hw:${CardId},1"
+ JackControl "Line - Input Jack"
+ CaptureMixerElem "Line"
+ }
+}
+
+SectionDevice."Mic" {
+ EnableSequence [
+ cset "name='Mic Capture Switch' on"
+ ]
+
+ Comment "Microphone"
+ Value {
+ CapturePriority 200
+ CapturePCM "hw:${CardId},2"
+ JackControl "Mic - Input Jack"
+ CaptureMixerElem "Mic"
+ }
+}
--- /dev/null
+Comment "USB-audio on Realtek ALC4080"
+SectionUseCase."HiFi" {
+ File "/USB-Audio/Realtek/ALC4080-HiFi.conf"
+ Comment "Default Alsa Profile"
+}
True.Define.ProfileName "Realtek/ALC1220-VB-Desktop"
}
+If.realtek-alc4080 {
+
+ Condition {
+ Type RegexMatch
+ String "${CardComponents}"
+ # 0db0:419c MSI MPG X570S Carbon Max Wifi
+ Regex "USB(0db0:419c)"
+ }
+ True.Define.ProfileName "Realtek/ALC4080"
+}
+
If.gigabyte-aorus-main {
Condition {
Type String