Skip to content

Commit

Permalink
fix(Ally X): prefer HDMI audio when docked (#1467)
Browse files Browse the repository at this point in the history
Create rule for HDMI and new folder structure for wireplumber for Ally X.
  • Loading branch information
thecalamityjoe87 authored Aug 7, 2024
1 parent 8c6379d commit 398ba21
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
monitor.alsa.rules = [
{
matches = [
{
node.name = "alsa_output.pci-0000_64_00.1.hdmi-stereo"
}
]
actions = {
update-props = {
priority.driver = 1100
priority.session = 1100
}
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
monitor.alsa.rules = [
{
matches = [
{
node.name = "alsa_output.pci-0000_64_00.6.analog-stereo"
}
]
actions = {
update-props = {
priority.driver = 900
priority.session = 900
api.alsa.period-size = 256
api.alsa.headroom = 1024
session.suspend-timeout-seconds = 0
}
}
}
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
monitor.alsa.rules = [
{
matches = [
{
node.name = "~alsa_input.*"
alsa.card_name = "acp5x"
}
{
node.name = "~alsa_input.*"
alsa.card_name = "acp6x"
}
{
node.name = "~alsa_input.*"
alsa.card_name = "sof-nau8821-max"
}
{
node.name = "~alsa_output.*"
alsa.card_name = "acp5x"
}
{
node.name = "~alsa_output.*"
alsa.card_name = "acp6x"
}
{
node.name = "~alsa_output.*"
alsa.card_name = "sof-nau8821-max"
}
]
actions = {
update-props = {
session.suspend-timeout-seconds = 0
api.alsa.headroom = 1024
}
}
}
]

0 comments on commit 398ba21

Please sign in to comment.