1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

chore: remove resampling quality overrides since defaults are already good

This commit is contained in:
oddlama 2023-09-25 00:52:27 +02:00
parent 54e158d079
commit b705d8266f
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A

View file

@ -10,6 +10,7 @@
# > pw-top # > pw-top
# Show actual used playback stream settings # Show actual used playback stream settings
# > cat /proc/asound/card*/pcm*p/sub*/hw_params # > cat /proc/asound/card*/pcm*p/sub*/hw_params
# Compare resamplers on: https://src.infinitewave.ca/
sound.enable = false; # ALSA sound.enable = false; # ALSA
hardware.pulseaudio.enable = lib.mkForce false; hardware.pulseaudio.enable = lib.mkForce false;
@ -35,15 +36,5 @@
192000 192000
]; ];
}; };
# If resampling is required, use a higher quality. 15 is overkill and too cpu expensive without any obvious audible advantage
"pipewire/pipewire-pulse.conf.d/99-resample.conf".text = builtins.toJSON {
"stream.properties"."resample.quality" = 10;
};
"pipewire/client.conf.d/99-resample.conf".text = builtins.toJSON {
"stream.properties"."resample.quality" = 10;
};
"pipewire/client-rt.conf.d/99-resample.conf".text = builtins.toJSON {
"stream.properties"."resample.quality" = 10;
};
}; };
} }