gaming audio
This commit is contained in:
parent
85d6e126bb
commit
3dffa4eb4b
2 changed files with 46 additions and 55 deletions
|
|
@ -13,52 +13,6 @@
|
|||
boot.kernel.sysctl."net.ipv4.ip_forward" = "1";
|
||||
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = "1";
|
||||
|
||||
# THE FINALS audio borked
|
||||
services.pipewire.enable = false;
|
||||
hardware.pulseaudio.enable = true;
|
||||
hardware.pulseaudio.support32Bit = true;
|
||||
services.pipewire.extraConfig = {
|
||||
pipewire."99-low-latency" = {
|
||||
context.properties = {
|
||||
default.allowed-rates = [44100 48000 96000];
|
||||
default.clock.rate = 192000;
|
||||
default.clock.quantum = 32;
|
||||
default.clock.min-quantum = 32;
|
||||
default.clock.max-quantum = 32;
|
||||
};
|
||||
context.modules = [
|
||||
{
|
||||
name = "libpipewire-module-rt";
|
||||
args = {
|
||||
nice.level = -12;
|
||||
rt.prio = 89;
|
||||
rt.time.soft = 200000;
|
||||
rt.time.hard = 200000;
|
||||
};
|
||||
flags = ["ifexists nofail"];
|
||||
}
|
||||
];
|
||||
};
|
||||
pipewire-pulse."99-low-latency" = {
|
||||
context.modules = [
|
||||
{
|
||||
name = "libpipewire-module-protocol-pulse";
|
||||
args = {
|
||||
pulse.min.req = "32/192000";
|
||||
pulse.default.req = "32/192000";
|
||||
pulse.max.req = "32/192000";
|
||||
pulse.min.quantum = "32/192000";
|
||||
pulse.max.quantum = "32/192000";
|
||||
};
|
||||
}
|
||||
];
|
||||
stream.properties = {
|
||||
node.latency = "32/192000";
|
||||
resample.quality = 1;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# services.foldingathome = {
|
||||
# enable = true;
|
||||
# team = 223518;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue