Too low default for headroom
A script to set audio up on Chromebooks increases the headroom value to 4096. The commit has the commit message below:
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.
rule = {
matches = {
{
{ "node.name", "matches", "alsa_output.*" },
},
},
apply_properties = {
["api.alsa.headroom"] = 4096,
},
}
table.insert(alsa_monitor.rules,rule)