From f006ead6021ac9ed63e579b69809f9554540d3db Mon Sep 17 00:00:00 2001 From: serenity-F Date: Thu, 7 Nov 2024 18:00:48 +1000 Subject: [PATCH] increased quantum value to deal with crackles/feedback --- core/audio.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/core/audio.nix b/core/audio.nix index e0d4d6c..9b3cd72 100644 --- a/core/audio.nix +++ b/core/audio.nix @@ -33,9 +33,9 @@ pipewire."92-low-latency" = { "context.properties" = { "default.clock.rate" = 48000; - "default.clock.quantum" = 48; - "default.clock.min-quantum" = 48; - "default.clock.max-quantum" = 48; + "default.clock.quantum" = 128; + "default.clock.min-quantum" = 128; + "default.clock.max-quantum" = 128; }; }; @@ -43,15 +43,15 @@ context.modules = [ { name = "libpipewire-module-protocol-pulse"; args = { - pulse.min.req = "48/48000"; - pulse.default.req = "48/48000"; - pulse.max.req = "48/48000"; - pulse.min.quantum = "48/48000"; - pulse.max.quantum = "48/48000"; + pulse.min.req = "128/48000"; + pulse.default.req = "128/48000"; + pulse.max.req = "128/48000"; + pulse.min.quantum = "128/48000"; + pulse.max.quantum = "128/48000"; }; } ]; stream.properties = { - node.latency = "48/48000"; + node.latency = "128/48000"; resample.quality = 1; }; };