From ec2573e7e79975ebfaf0bd189d48de575f8419d3 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Sun, 30 Jul 2023 23:41:14 +0200 Subject: [PATCH] no crackles under higher cpu load (I really have to clean this up) --- hosts/niks/configuration.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hosts/niks/configuration.nix b/hosts/niks/configuration.nix index ce7ecaf9c..1c4fea297 100644 --- a/hosts/niks/configuration.nix +++ b/hosts/niks/configuration.nix @@ -139,9 +139,9 @@ in "pipewire/pipewire.conf.d/92-low-latency.conf".text = '' context.properties = { default.clock.rate = 48000 - default.clock.quantum = 64 - default.clock.min-quantum = 64 - default.clock.max-quantum = 64 + default.clock.quantum = 256 + default.clock.min-quantum = 256 + default.clock.max-quantum = 256 } ''; "pipewire/pipewire-pulse.d/92-low-latency.conf".source = json.generate "92-low-latency.conf" { @@ -149,16 +149,16 @@ in { name = "libpipewire-module-protocol-pulse"; args = { - pulse.min.req = "64/48000"; - pulse.default.req = "64/48000"; - pulse.max.req = "64/48000"; - pulse.min.quantum = "64/48000"; - pulse.max.quantum = "64/48000"; + pulse.min.req = "256/48000"; + pulse.default.req = "256/48000"; + pulse.max.req = "256/48000"; + pulse.min.quantum = "256/48000"; + pulse.max.quantum = "256/48000"; }; } ]; stream.properties = { - node.latency = "64/48000"; + node.latency = "256/48000"; resample.quality = 1; }; };