Last active
November 27, 2019 22:17
-
-
Save dyrverE/f3772150a712751fb3e39b8359288d94 to your computer and use it in GitHub Desktop.
/usr/share/alsa/ucm/HDAudio-Gigabyte-ALC1220DualCodecs/HiFi.conf for AX370 Gaming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SectionVerb { | |
Value { | |
TQ "HiFi" | |
} | |
EnableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Front Playback Volume' 100%" | |
cset "name='Front Playback Switch' on" | |
cset "name='Rear-Panel Capture Volume' 100%" | |
cset "name='Rear-Panel Capture Switch' on" | |
] | |
DisableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Front Playback Volume' 0" | |
cset "name='Front Playback Switch' off" | |
cset "name='Rear-Panel Capture Volume' 0" | |
cset "name='Rear-Panel Capture Switch' off" | |
] | |
} | |
SectionDevice."Speaker" { | |
Comment "Speaker" | |
Value { | |
PlaybackChannels "2" | |
PlaybackPCM "hw:${CardId},4" | |
} | |
ConflictingDevice [ | |
"Headphone" | |
] | |
EnableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Speaker Playback Switch' on" | |
cset "name='Speaker Playback Volume' 100%" | |
] | |
DisableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Speaker Playback Volume' 0" | |
cset "name='Speaker Playback Switch' off" | |
] | |
} | |
SectionDevice."LineOut" { | |
Comment "Line Out" | |
Value { | |
PlaybackChannels "2" | |
PlaybackPCM "hw:${CardId},0" | |
JackControl "Line Out Jack" | |
JackHWMute "Speaker" | |
} | |
} | |
SectionDevice."Headphone" { | |
Comment "Headphone" | |
Value { | |
PlaybackChannels "2" | |
PlaybackPCM "hw:${CardId},4" | |
JackControl "Front Headphone Jack" | |
JackHWMute "Speaker" | |
} | |
ConflictingDevice [ | |
"Speaker" | |
] | |
EnableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Headphone Playback Switch' on" | |
cset "name='Headphone Playback Volume' 100%" | |
] | |
DisableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Headphone Playback Volume' 0" | |
cset "name='Headphone Playback Switch' off" | |
] | |
} | |
SectionDevice."LineIn" { | |
Comment "Rear Line In" | |
Value { | |
CaptureChannels "2" | |
CapturePCM "hw:${CardId},0" | |
JackControl "Line Jack" | |
} | |
ConflictingDevice [ | |
"RearMic" | |
] | |
EnableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Input Source' Line" | |
] | |
} | |
SectionDevice."RearMic" { | |
Comment "Rear Microphone" | |
Value { | |
CaptureChannels "2" | |
CapturePCM "hw:${CardId},0" | |
# CapturePriority "150" | |
JackHWMute "LineIn" | |
} | |
ConflictingDevice [ | |
"LineIn" | |
] | |
EnableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Input Source' Rear Mic" | |
] | |
} | |
SectionDevice."FrontMic" { | |
Comment "Front Microphone" | |
Value { | |
CaptureChannels "2" | |
CapturePCM "hw:${CardId},4" | |
JackControl "Front Mic Jack" | |
} | |
EnableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Front-Panel Capture Volume' 100%" | |
cset "name='Front-Panel Capture Switch' on" | |
] | |
DisableSequence [ | |
cdev "hw:${CardId}" | |
cset "name='Front-Panel Capture Volume' 0" | |
cset "name='Front-Panel Capture Switch' off" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment