feat: Use lower latency for pipewire 64 48000
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

This commit is contained in:
2026-02-03 22:05:20 +05:30
parent d688fc0eef
commit eb63ef2585
4 changed files with 31 additions and 6 deletions

15
flake.lock generated
View File

@@ -2425,14 +2425,17 @@
]
},
"locked": {
"lastModified": 1770132108,
"narHash": "sha256-0Tzv5KCo2XPAq01An0BRNJXL3DmemY1J+ZYeYiqXsE8=",
"path": "/home/servius/Projects/MixiD",
"type": "path"
"lastModified": 1768471435,
"narHash": "sha256-gf0oCl8LrBDaEVxtDLa9eR8wNC7ropbsYsI2ILXPjWk=",
"owner": "leguteape",
"repo": "MixiD",
"rev": "32d049213cdf4d4d25f310609749daa72f26cf65",
"type": "github"
},
"original": {
"path": "/home/servius/Projects/MixiD",
"type": "path"
"owner": "leguteape",
"repo": "MixiD",
"type": "github"
}
},
"music-player": {

View File

@@ -113,6 +113,7 @@
# desktopManager.gnome.enable = true;
pipewire = {
enable = true;
audio.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;

View File

@@ -21,5 +21,6 @@
# ./sunshine.nix
./tailscale.nix
./wivrn.nix
./pipewire.nix
];
}

View File

@@ -0,0 +1,20 @@
{...}: {
services.pipewire = {
enable = true;
audio.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
extraConfig = {
pipewire = {
"10-clock-rate" = {
"context.properties" = {
"default.clock.rate" = 48000;
"default.clock.quantum" = 32;
"default.clock.allowed-rates" = [44100 48000 88200 96000];
};
};
};
};
};
}