I have no fucking idea how to make this actually work but this is fine for now because no crackling

This commit is contained in:
jacekpoz 2023-07-22 00:18:16 +02:00
parent 3b5f69c8f2
commit 53c4695366

View file

@ -152,9 +152,9 @@ in
"pipewire/pipewire.conf.d/92-low-latency.conf".text = '' "pipewire/pipewire.conf.d/92-low-latency.conf".text = ''
context.properties = { context.properties = {
default.clock.rate = 48000 default.clock.rate = 48000
default.clock.quantum = 128 default.clock.quantum = 1024
default.clock.min-quantum = 128 default.clock.min-quantum = 1024
default.clock.max-quantum = 128 default.clock.max-quantum = 1024
} }
''; '';
"pipewire/pipewire-pulse.d/92-low-latency.conf".source = json.generate "92-low-latency.conf" { "pipewire/pipewire-pulse.d/92-low-latency.conf".source = json.generate "92-low-latency.conf" {
@ -162,16 +162,16 @@ in
{ {
name = "libpipewire-module-protocol-pulse"; name = "libpipewire-module-protocol-pulse";
args = { args = {
pulse.min.req = "32/48000"; pulse.min.req = "512/48000";
pulse.default.req = "32/48000"; pulse.default.req = "512/48000";
pulse.max.req = "32/48000"; pulse.max.req = "512/48000";
pulse.min.quantum = "32/48000"; pulse.min.quantum = "512/48000";
pulse.max.quantum = "32/48000"; pulse.max.quantum = "512/48000";
}; };
} }
]; ];
stream.properties = { stream.properties = {
node.latency = "32/48000"; node.latency = "512/48000";
resample.quality = 1; resample.quality = 1;
}; };
}; };