I need some help with a very frustrating issue, at random times my audio skips and gltiches. It seems to be any audio, be it from Firefox, mpd or mpv.
I have spent a few days scanning the interwebs for configs, searching for documentation etc, but I haven’t really found the issue.
Initially I thought it was my USB DAC, so I plugged directly into my PC headphone jack and the issue has diminished somewhat, but I am still experiencing the issue.
This is the relevent snippet from my configuration.nix:
# Enable Sound.
sound.enable = true;
security.rtkit.enable = true;
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
};
environment.etc = {
"pipewire/pipewire.conf.d/92-low-latency.conf".text = ''
context.properties = {
default.clock.rate = 48000
default.clock.quantum = 1024
default.clock.min-quantum = 32
default.clock.max-quantum = 8192
}
'';
};
I added the default.clock section to see if that would help, it hasn’t really.
What other information can I provide? Any direction will be greatly appreciated.