sndio micro stuttering reddit / freebsd ---------------------------------------------------------------------- Shifter2015 · 2023-12-16 09:57 When playing audio from chromium (YouTube Music specifically), there are these tiny micro stutters in the sound. Not too distracting, and not too frequent, but it's still annoying. I do have sndiod\_enable="YES" in my /etc/rc.conf, but it's still happening. Is there any way to improve this? My understanding is that chromium uses sndio by default, maybe forcing it to use something else like ALSA or Pulseaudio would help, or is that just gonna go through sndio eventually? Or maybe increasing it's priority, like how JACK can run real-time on Linux? I come from Linux, so the way sound works on FreeBSD is still a bit confusing to me, is sndio the default, or is it OSS? ---------------------------------------------------------------------- Clownk580 · 2023-12-16 13:25 If cat /dev/sndstat gives you results , then it is default is sndIO if nothing shows after this command then OSS. ---------------------------------------------------------------------- tehpeh- · 2023-12-16 23:42 OSS is the default, but I understand Chromium will use sndio under the hood. I use OSS on my desktop and laptop, and try to avoid anything else. The sound wiki page is pretty good https://wiki.freebsd.org/Sound ---------------------------------------------------------------------- Shifter2015 · 2023-12-17 17:21 Thanks! I think I actually managed to fix the stuttering by giving sndiod realtime priority 5 with rtprio, but i'm still testing it out. ---------------------------------------------------------------------- k3nrap · 2023-12-20 11:11 [This post](https://www.reddit.com/r/freebsd/comments/wimvcg/usb_audio _pauses/) with [this comment](https://www.reddit.com/r/freebsd/comment s/wimvcg/comment/immrsef/?utm_source=share&utm_medium=web2x&context=3) specifically, might have the correct solution for your micro stutters. ---------------------------------------------------------------------- Shifter2015 · 2023-12-20 14:35 Actually, I managed to fix it by just giving sndiod real-time priority. I also had troubles with OSS underruns, but I fixed that by slightly increasing the latency. Thanks though!