tidied audio.nix
This commit is contained in:
parent
0a3ee3f02a
commit
c8c1ac1f58
1 changed files with 44 additions and 39 deletions
|
|
@ -53,13 +53,17 @@
|
||||||
## Musnix for audio production
|
## Musnix for audio production
|
||||||
musnix = {
|
musnix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
rtcqs = { enable = true; };
|
rtcqs.enable = true;
|
||||||
rtirq = { enable = true; };
|
rtirq.enable = true;
|
||||||
kernel = { realtime = true; };
|
kernel.realtime = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
## Using pipewire baybee
|
## Using pipewire baybee
|
||||||
services.pipewire = {
|
services = {
|
||||||
|
|
||||||
|
pulseaudio.enable = false;
|
||||||
|
|
||||||
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
jack.enable = true;
|
jack.enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
|
|
@ -74,15 +78,15 @@
|
||||||
pipewire."92-low-latency" = {
|
pipewire."92-low-latency" = {
|
||||||
"context.properties" = {
|
"context.properties" = {
|
||||||
"default.clock.rate" = 48000;
|
"default.clock.rate" = 48000;
|
||||||
"default.clock.quantum" = 144;
|
"default.clock.quantum" = 150;
|
||||||
"default.clock.min-quantum" = 144;
|
"default.clock.min-quantum" = 150;
|
||||||
"default.clock.max-quantum" = 144;
|
"default.clock.max-quantum" = 150;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pipewire-pulse."92-low-latency" = {
|
pipewire-pulse."92-low-latency" = {
|
||||||
stream.properties = {
|
stream.properties = {
|
||||||
node.latency = "144/48000";
|
node.latency = "150/48000";
|
||||||
resample.quality = 1;
|
resample.quality = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -90,11 +94,11 @@
|
||||||
name = "libpipewire-module-protocol-pulse";
|
name = "libpipewire-module-protocol-pulse";
|
||||||
args = {
|
args = {
|
||||||
pulse = {
|
pulse = {
|
||||||
default.req = "144/48000";
|
default.req = "150/48000";
|
||||||
min.req = "144/48000";
|
min.req = "150/48000";
|
||||||
max.req = "144/48000";
|
max.req = "150/48000";
|
||||||
min.quantum = "144/48000";
|
min.quantum = "150/48000";
|
||||||
max.quantum = "144/48000";
|
max.quantum = "150/48000";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
|
@ -104,5 +108,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue