mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 20:16:10 +01:00
fixed wireplumber
This commit is contained in:
parent
c5d2efcf1d
commit
a8ee47c46f
1 changed files with 17 additions and 0 deletions
|
|
@ -14,5 +14,22 @@ in {
|
||||||
options snd-soc-avs obsolete_card_names=1
|
options snd-soc-avs obsolete_card_names=1
|
||||||
'';
|
'';
|
||||||
environment.sessionVariables.ALSA_CONFIG_UCM2 = lib.mkDefault "${alsa-ucm-conf-cros}/share/alsa/ucm2";
|
environment.sessionVariables.ALSA_CONFIG_UCM2 = lib.mkDefault "${alsa-ucm-conf-cros}/share/alsa/ucm2";
|
||||||
|
|
||||||
|
services.pipewire.wireplumber.extraConfig."51-increase-headroom" = {
|
||||||
|
"monitor.alsa.rules" = [
|
||||||
|
{
|
||||||
|
matches = [
|
||||||
|
{
|
||||||
|
"node.name" = "~alsa_output.*";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
actions = {
|
||||||
|
"update-props" = {
|
||||||
|
"api.alsa.headroom" = 4096;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue