Skip to main content

Sound flicking and stuttering in librewolf/firefox

··75 words·1 min

Let this be a quick one again: my Librewolf browser plays perfectly fine audio now on any YouTube video.

Settings in Librewolf #

Open about:config and look for or create media.cubeb.backend. This setting should contain a string value.

media.cubeb.backend               sndio

I’ve also tried to set this to oss but it works better with sndio.

System wide settings #

Enable sndio daemon in rc.conf #

sndiod_enable="YES"

Eventually run doas service sndiod start.

Settings in sysctl.conf #

kern.sched.preempt_thresh=224
dev.pcm.0.play.vchanrate=192000
dev.pcm.1.play.vchanrate=192000
hw.snd.latency=7