forked from ublue-os/bazzite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix audio input and output priorities for Legion Go (ublue-os#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.
- Loading branch information
1 parent
6bb47b7
commit d0b321e
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...usr/share/wireplumber/hardware-profiles/lenovo-83e1/wireplumber.conf.d/51-preferHDMI.conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
} | ||
] |
15 changes: 15 additions & 0 deletions
15
...e/wireplumber/hardware-profiles/lenovo-83e1/wireplumber.conf.d/60-raise-internal-mic.conf
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||
} | ||
] |