ok no crackles anymore
This commit is contained in:
parent
bab21249e2
commit
5dee4371d5
1 changed files with 24 additions and 4 deletions
|
@ -109,7 +109,9 @@ in
|
|||
|
||||
SYSTEMD_TIMEDATED_NTP_SERVICES = "chronyd.service:systemd-timesyncd.service";
|
||||
};
|
||||
etc = {
|
||||
etc = let
|
||||
json = pkgs.formats.json {};
|
||||
in {
|
||||
"greetd/environments".text = ''
|
||||
Hyprland
|
||||
sway
|
||||
|
@ -119,11 +121,29 @@ 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 = 128
|
||||
default.clock.min-quantum = 128
|
||||
default.clock.max-quantum = 128
|
||||
}
|
||||
'';
|
||||
"pipewire/pipewire-pulse.d/92-low-latency.conf".source = json.generate "92-low-latency.conf" {
|
||||
context.modules = [
|
||||
{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
args = {
|
||||
pulse.min.req = "32/48000";
|
||||
pulse.default.req = "32/48000";
|
||||
pulse.max.req = "32/48000";
|
||||
pulse.min.quantum = "32/48000";
|
||||
pulse.max.quantum = "32/48000";
|
||||
};
|
||||
}
|
||||
];
|
||||
stream.properties = {
|
||||
node.latency = "32/48000";
|
||||
resample.quality = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue