set buffer size to maximum?

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-09 12:26:09 +01:00
parent 61ce2cdffc
commit 1117e2b2ab
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 12 additions and 12 deletions

View file

@ -148,18 +148,6 @@
"riscv64-linux"
"wasm32-wasi"
];
# Allow high-res audio on PC
services.pipewire.config.pipewire."context.properties"."default.clock.rate" = 384000;
services.pipewire.config.pipewire."context.properties"."default.clock.allowed-rates" = [
44100
48000
88200
96000
176400
192000
352800
384000
];
nix.buildMachines = lib.mkForce [
{
hostName = "build-nas";

View file

@ -18,4 +18,16 @@
{ domain = "@audio"; item = "nofile"; type = "soft"; value = "99999"; }
{ domain = "@audio"; item = "nofile"; type = "hard"; value = "99999"; }
];
services.pipewire.config.pipewire."context.properties"."default.clock.rate" = 384000;
services.pipewire.config.pipewire."context.properties"."default.clock.allowed-rates" = [
44100
48000
88200
96000
176400
192000
352800
384000
];
services.pipewire.config.pipewire."context.properties"."default.clock.quantum" = 8192;
}