updated audio.nix values
This commit is contained in:
parent
151b683843
commit
2f4f40d1e4
1 changed files with 12 additions and 14 deletions
|
|
@ -1,11 +1,11 @@
|
||||||
## https://nixos.wiki/wiki/Category:Audio
|
# # https://nixos.wiki/wiki/Category:Audio
|
||||||
## https://nixos.wiki/PipeWire
|
## https://nixos.wiki/PipeWire
|
||||||
## https://github.com/musnix/musnix
|
## https://github.com/musnix/musnix
|
||||||
## https://nixos.wiki/wiki/Audio_production
|
## https://nixos.wiki/wiki/Audio_production
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
#boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
|
boot.kernelModules = [ "snd-seq" "snd-rawmidi" ];
|
||||||
|
|
||||||
## Can't remember what this does,
|
## Can't remember what this does,
|
||||||
## recommended to be enabled though
|
## recommended to be enabled though
|
||||||
|
|
@ -59,9 +59,7 @@
|
||||||
services = {
|
services = {
|
||||||
|
|
||||||
## Not using pulse directly
|
## Not using pulse directly
|
||||||
pulseaudio = {
|
pulseaudio = { enable = false; };
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -78,15 +76,15 @@
|
||||||
pipewire."92-low-latency" = {
|
pipewire."92-low-latency" = {
|
||||||
"context.properties" = {
|
"context.properties" = {
|
||||||
"default.clock.rate" = 48000;
|
"default.clock.rate" = 48000;
|
||||||
"default.clock.quantum" = 150;
|
"default.clock.quantum" = 192;
|
||||||
"default.clock.min-quantum" = 150;
|
"default.clock.min-quantum" = 192;
|
||||||
"default.clock.max-quantum" = 150;
|
"default.clock.max-quantum" = 192;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pipewire-pulse."92-low-latency" = {
|
pipewire-pulse."92-low-latency" = {
|
||||||
stream.properties = {
|
stream.properties = {
|
||||||
node.latency = "150/48000";
|
node.latency = "192/48000";
|
||||||
resample.quality = 1;
|
resample.quality = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -94,11 +92,11 @@
|
||||||
name = "libpipewire-module-protocol-pulse";
|
name = "libpipewire-module-protocol-pulse";
|
||||||
args = {
|
args = {
|
||||||
pulse = {
|
pulse = {
|
||||||
default.req = "150/48000";
|
default.req = "192/48000";
|
||||||
min.req = "150/48000";
|
min.req = "192/48000";
|
||||||
max.req = "150/48000";
|
max.req = "192/48000";
|
||||||
min.quantum = "150/48000";
|
min.quantum = "192/48000";
|
||||||
max.quantum = "150/48000";
|
max.quantum = "192/48000";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue