mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-18 13:18:40 +00:00
Ignore audio from PS controllers audio card
This commit is contained in:
parent
746dadcb59
commit
d53f6a734d
@ -0,0 +1,21 @@
|
||||
-- PS4/PS5 Controller output is always referenced as Wireless Controller
|
||||
-- We always give the lowest priority to nodes from that card
|
||||
|
||||
table.insert (alsa_monitor.rules, {
|
||||
matches = {
|
||||
{
|
||||
-- Matches all sources from card Controller
|
||||
{ "node.name", "matches", "alsa_input.*" },
|
||||
{ "alsa.card_name", "matches", "Wireless Controller" },
|
||||
},
|
||||
{
|
||||
-- Matches all sinks from card Wireless Controller
|
||||
{ "node.name", "matches", "alsa_output.*" },
|
||||
{ "alsa.card_name", "matches", "Wireless Controller" },
|
||||
},
|
||||
},
|
||||
apply_properties = {
|
||||
["priority.driver"] = 99,
|
||||
["priority.session"] = 99,
|
||||
}
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user