46 lines
923 B
Plaintext
46 lines
923 B
Plaintext
# AMD Ryzen HD Audio Controller configuration
|
|
# Disables UCM, disables digital microphone, prefers analog microphone
|
|
|
|
monitor.alsa.properties = {
|
|
alsa.use-ucm = false
|
|
}
|
|
|
|
monitor.alsa.rules = [
|
|
# Disable digital microphone on AMD Ryzen HD Audio
|
|
{
|
|
matches = [
|
|
{
|
|
node.name = "~alsa_input.pci.*"
|
|
node.description = "~.*[Dd]igital.*[Mm]ic.*"
|
|
}
|
|
{
|
|
node.name = "~alsa_input.pci.*[Dd]igital.*"
|
|
}
|
|
{
|
|
node.name = "~alsa_input.pci.*HiFi__Digital_Mic__source"
|
|
}
|
|
]
|
|
actions = {
|
|
update-props = {
|
|
node.disabled = true
|
|
}
|
|
}
|
|
}
|
|
# Prefer analog microphone on AMD Ryzen HD Audio
|
|
{
|
|
matches = [
|
|
{
|
|
node.name = "~alsa_input.pci.*analog.*"
|
|
}
|
|
{
|
|
node.name = "~alsa_input.pci.*HiFi__Mic__source"
|
|
}
|
|
]
|
|
actions = {
|
|
update-props = {
|
|
priority.session = 1500
|
|
}
|
|
}
|
|
}
|
|
]
|