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": {
|
"locked": {
|
||||||
"lastModified": 1770132108,
|
"lastModified": 1768471435,
|
||||||
"narHash": "sha256-0Tzv5KCo2XPAq01An0BRNJXL3DmemY1J+ZYeYiqXsE8=",
|
"narHash": "sha256-gf0oCl8LrBDaEVxtDLa9eR8wNC7ropbsYsI2ILXPjWk=",
|
||||||
"path": "/home/servius/Projects/MixiD",
|
"owner": "leguteape",
|
||||||
"type": "path"
|
"repo": "MixiD",
|
||||||
|
"rev": "32d049213cdf4d4d25f310609749daa72f26cf65",
|
||||||
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"path": "/home/servius/Projects/MixiD",
|
"owner": "leguteape",
|
||||||
"type": "path"
|
"repo": "MixiD",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"music-player": {
|
"music-player": {
|
||||||
|
|||||||
@@ -113,6 +113,7 @@
|
|||||||
# desktopManager.gnome.enable = true;
|
# desktopManager.gnome.enable = true;
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
audio.enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
|||||||
@@ -21,5 +21,6 @@
|
|||||||
# ./sunshine.nix
|
# ./sunshine.nix
|
||||||
./tailscale.nix
|
./tailscale.nix
|
||||||
./wivrn.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