Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase alsa headroom when using pipewire
Pipewire sets the period_size very low by default, which causes instability with the drivers locking up. Increase the headroom to work around this. Pulseaudio sets it higher by default so it is not needed there. Also re-word the status print for avs_dmic.
- Loading branch information
1 parent
f61eca7
commit 7ae9b66
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
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,12 @@ | ||
rule = { | ||
matches = { | ||
{ | ||
{ "node.name", "matches", "alsa_output.*" }, | ||
}, | ||
}, | ||
apply_properties = { | ||
["api.alsa.headroom"] = 4096, | ||
}, | ||
} | ||
|
||
table.insert(alsa_monitor.rules,rule) |
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