feat: a lot of stuff

This commit is contained in:
Jacob Bachmann 2024-08-19 13:26:33 +02:00
parent e6a98be608
commit 2a9cfe768f
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
11 changed files with 70 additions and 18 deletions

View file

@ -2,18 +2,18 @@
services.pipewire = lib.mkIf (!builtins.elem "gnome" config.bchmnn.gui.flavour) {
enable = true;
audio.enable = true;
pulse.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
jack.enable = true;
pulse.enable = true;
wireplumber.enable = true;
extraConfig.pipewire = lib.mkIf config.bchmnn.audio.pipewire-wine-fix.enable {
"90-wine-config" = {
"context.properties" = {
# "default.clock.rate" = 48000;
# "default.clock.allowed-rates" = [ 48000 ];
"default.clock.allowed-rates" = [ 44100 48000 ];
# "default.clock.quantum" = 2048;
"default.clock.min-quantum" = 1024;
# "default.clock.min-quantum" = 1024;
};
};
};
@ -21,8 +21,8 @@
"90-wine-config" = {
"pulse.properties" = {
"pulse.min.req" = "1024/48000";
"pulse.min.frag" = "1024/48000";
"pulse.min.quantum" = "1024/48000";
# "pulse.min.frag" = "1024/48000";
# "pulse.min.quantum" = "1024/48000";
};
};
};