mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-26 09:35:24 +00:00
Audio part 2
This commit is contained in:
parent
530f69a304
commit
746dadcb59
@ -0,0 +1,25 @@
|
||||
-- HDMI output is always plugged in card 0 (HD_Audio Generic)
|
||||
-- We always give higher priority to nodes from that card
|
||||
-- Disable suspend timeout for HDMI to remove audio delay after idle
|
||||
|
||||
table.insert (alsa_monitor.rules, {
|
||||
matches = {
|
||||
{
|
||||
-- Matches all sources from card HD-Audio Generic
|
||||
{ "node.name", "matches", "alsa_input.*" },
|
||||
{ "alsa.card_name", "matches", "HD-Audio Generic" },
|
||||
},
|
||||
{
|
||||
-- Matches all sinks from card HD-Audio Generic
|
||||
{ "node.name", "matches", "alsa_output.*" },
|
||||
{ "alsa.card_name", "matches", "HD-Audio Generic" },
|
||||
},
|
||||
},
|
||||
apply_properties = {
|
||||
["priority.driver"] = 900,
|
||||
["priority.session"] = 900,
|
||||
["api.alsa.period-size"] = 256,
|
||||
["api.alsa.headroom"] = 1024,
|
||||
["session.suspend-timeout-seconds"] = 0
|
||||
}
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user