feat: Use lower latency for pipewire 64 48000
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled
This commit is contained in:
15
flake.lock
generated
15
flake.lock
generated
@@ -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": {
|
||||
|
||||
@@ -113,6 +113,7 @@
|
||||
# desktopManager.gnome.enable = true;
|
||||
pipewire = {
|
||||
enable = true;
|
||||
audio.enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
|
||||
@@ -21,5 +21,6 @@
|
||||
# ./sunshine.nix
|
||||
./tailscale.nix
|
||||
./wivrn.nix
|
||||
./pipewire.nix
|
||||
];
|
||||
}
|
||||
|
||||
20
nixos/ryu/services/pipewire.nix
Normal file
20
nixos/ryu/services/pipewire.nix
Normal 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];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user