nix/modules/nixos/pipewire-low-latency.nix

17 lines
363 B
Nix
Raw Permalink Normal View History

2023-10-08 02:46:37 -05:00
{...}: {
environment.etc = {
"pipewire/pipewire.conf.d/92-low-latency.conf".text = ''
context.properties = {
default.clock.rate = 48000
default.clock.quantum = 128
default.clock.min-quantum = 128
default.clock.max-quantum = 128
}
jack.properties = {
node.latency = 128/48000
}
'';
};
}