Skip to content

Commit da5e4f2

Browse files
mmstickjackpot51
authored andcommitted
fix: Start list of known sound cards needing ALSA headroom
1 parent 87a71fb commit da5e4f2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/config/main.lua.d/50-alsa-config.lua

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ alsa_monitor.properties = {
2020

2121
alsa_monitor.rules = {
2222
-- An array of matches/actions to evaluate.
23-
--
23+
--
2424
-- If you want to disable some devices or nodes, you can apply properties per device as the following example.
2525
-- The name can be found by running pw-cli ls Device, or pw-cli dump Device
2626
--{
@@ -114,4 +114,15 @@ alsa_monitor.rules = {
114114
--["session.suspend-timeout-seconds"] = 5, -- 0 disables suspend
115115
},
116116
},
117+
{
118+
-- Devices known to require a headroom.
119+
matches = {
120+
{
121+
{ "node.name", "matches", "alsa_output.usb-0b0e_Jabra_SPEAK_410_USB_501AA523CBCAx010900-00.analog-stereo" }
122+
},
123+
},
124+
apply_properties = {
125+
["api.alsa.headroom"] = 1024,
126+
},
127+
},
117128
}

0 commit comments

Comments
 (0)