test pipewire again
This commit is contained in:
parent
f2e67d874b
commit
d625fa8556
1 changed files with 44 additions and 44 deletions
|
|
@ -56,48 +56,48 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
# THE FINALS audio borked
|
# THE FINALS audio borked
|
||||||
services.pipewire.enable = !if_desktop;
|
# services.pipewire.enable = !if_desktop;
|
||||||
hardware.pulseaudio.enable = if_desktop;
|
# hardware.pulseaudio.enable = if_desktop;
|
||||||
hardware.pulseaudio.support32Bit = if_desktop;
|
# hardware.pulseaudio.support32Bit = if_desktop;
|
||||||
services.pipewire.extraConfig = {
|
# services.pipewire.extraConfig = {
|
||||||
pipewire."99-low-latency" = {
|
# pipewire."99-low-latency" = {
|
||||||
context.properties = {
|
# context.properties = {
|
||||||
default.allowed-rates = [44100 48000 96000];
|
# default.allowed-rates = [44100 48000 96000];
|
||||||
default.clock.rate = 192000;
|
# default.clock.rate = 192000;
|
||||||
default.clock.quantum = 32;
|
# default.clock.quantum = 32;
|
||||||
default.clock.min-quantum = 32;
|
# default.clock.min-quantum = 32;
|
||||||
default.clock.max-quantum = 32;
|
# default.clock.max-quantum = 32;
|
||||||
};
|
# };
|
||||||
context.modules = [
|
# context.modules = [
|
||||||
{
|
# {
|
||||||
name = "libpipewire-module-rt";
|
# name = "libpipewire-module-rt";
|
||||||
args = {
|
# args = {
|
||||||
nice.level = -12;
|
# nice.level = -12;
|
||||||
rt.prio = 89;
|
# rt.prio = 89;
|
||||||
rt.time.soft = 200000;
|
# rt.time.soft = 200000;
|
||||||
rt.time.hard = 200000;
|
# rt.time.hard = 200000;
|
||||||
};
|
# };
|
||||||
flags = ["ifexists nofail"];
|
# flags = ["ifexists nofail"];
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
pipewire-pulse."99-low-latency" = {
|
# pipewire-pulse."99-low-latency" = {
|
||||||
context.modules = [
|
# context.modules = [
|
||||||
{
|
# {
|
||||||
name = "libpipewire-module-protocol-pulse";
|
# name = "libpipewire-module-protocol-pulse";
|
||||||
args = {
|
# args = {
|
||||||
pulse.min.req = "32/192000";
|
# pulse.min.req = "32/192000";
|
||||||
pulse.default.req = "32/192000";
|
# pulse.default.req = "32/192000";
|
||||||
pulse.max.req = "32/192000";
|
# pulse.max.req = "32/192000";
|
||||||
pulse.min.quantum = "32/192000";
|
# pulse.min.quantum = "32/192000";
|
||||||
pulse.max.quantum = "32/192000";
|
# pulse.max.quantum = "32/192000";
|
||||||
};
|
# };
|
||||||
}
|
# }
|
||||||
];
|
# ];
|
||||||
stream.properties = {
|
# stream.properties = {
|
||||||
node.latency = "32/192000";
|
# node.latency = "32/192000";
|
||||||
resample.quality = 1;
|
# resample.quality = 1;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue