Fix audio input and output priorities for Legion Go (#1436)

Currently, there's an issue with the internal mic not being default in gamemode. Also, this gives priority to HDMI/external audio if Legion Go is attached to HDMI audio. Added 2 conf files to wireplumber.conf.d.
This commit is contained in:
Isaac 2024-07-30 09:43:04 -05:00 committed by GitHub
parent 6bb47b7ad0
commit d0b321e19c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,15 @@
monitor.alsa.rules = [
{
matches = [
{
node.name = "alsa_output.pci-0000_c2_00.1.hdmi-stereo"
}
]
actions = {
update-props = {
priority.driver = 1100
priority.session = 1100
}
}
}
]

View File

@ -0,0 +1,15 @@
monitor.alsa.rules = [
{
matches = [
{
node.name = "alsa_input.pci-0000_c2_00.6.analog-stereo"
}
]
actions = {
update-props = {
priority.driver = 8901
priority.session = 8901
}
}
}
]