You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1008 B
46 lines
1008 B
2 years ago
|
+++
|
||
|
# vim: ft=markdown
|
||
|
title = 'Sound flicking and stuttering in librewolf/firefox'
|
||
|
summary = '''Finally. Normal sound in Librewolf on YouTube. This took quite a
|
||
|
while for me to fix...'''
|
||
|
date = '2023-06-04T17:03:20+0200'
|
||
1 year ago
|
lastmod = '2023-06-17T20:48:16+0000'
|
||
2 years ago
|
categories = [ 'computerstuff' ]
|
||
|
tags = [ 'freebsd' ]
|
||
|
|
||
|
+++
|
||
|
|
||
|
Let this be a quick one again: my Librewolf browser plays perfectly fine audio
|
||
|
now on any YouTube video.
|
||
|
|
||
|
## Settings in Librewolf
|
||
|
|
||
|
Open <kbd>about:config</kbd> 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
|
||
|
|
||
1 year ago
|
### Enable sndio daemon in <kbd>rc.conf</kbd>
|
||
2 years ago
|
|
||
|
```conf
|
||
|
sndiod_enable="YES"
|
||
|
```
|
||
|
|
||
|
Eventually run `doas service sndiod start`.
|
||
|
|
||
1 year ago
|
### Settings in <kbd>sysctl.conf</kbd>
|
||
2 years ago
|
|
||
|
```conf
|
||
|
kern.sched.preempt_thresh=224
|
||
|
dev.pcm.0.play.vchanrate=192000
|
||
|
dev.pcm.1.play.vchanrate=192000
|
||
|
hw.snd.latency=7
|
||
|
```
|
||
|
|