Joel Carnat ♑ 🐘 on Nostr: Today, I lost 3 hours trying to have my #FreeBSD jailed #Librewolf rendering audio ...
Today, I lost 3 hours trying to have my #FreeBSD jailed #Librewolf rendering audio via my USB soundbar. Non jailed #mpv and #qutebrowser did work as expected (hear using the `sysctl hw.snd.defaul_unit` value) so I thought I was messing up with exposed devices into the jail.
I turned out, Librewolf (and any Firefox ?) requires to manually have media.cubeb.backend set to "oss"...
https://wiki.freebsd.org/Sound#OSS_.28simple.29Published at
2025-01-02 15:45:10Event JSON
{
"id": "81a36e0c0087fa66c106853a292946dc2479edefa076d56a25faac62c5cab2f3",
"pubkey": "3c634ab79481f3bea0b5e5468969d0c9771a66305e0a77defb1504a480debba1",
"created_at": 1735832710,
"kind": 1,
"tags": [
[
"t",
"freebsd"
],
[
"t",
"librewolf"
],
[
"t",
"mpv"
],
[
"t",
"qutebrowser"
],
[
"proxy",
"https://piou.foolbazar.eu/users/joel/statuses/113759532522807079",
"activitypub"
]
],
"content": "Today, I lost 3 hours trying to have my #FreeBSD jailed #Librewolf rendering audio via my USB soundbar. Non jailed #mpv and #qutebrowser did work as expected (hear using the `sysctl hw.snd.defaul_unit` value) so I thought I was messing up with exposed devices into the jail.\n\nI turned out, Librewolf (and any Firefox ?) requires to manually have media.cubeb.backend set to \"oss\"...\n\nhttps://wiki.freebsd.org/Sound#OSS_.28simple.29",
"sig": "8aae2b3d9501bd10c4c93f2d0fdd2537c3617821dc953ada8b13d4cc7952ecd9780b16c5f88d0da41d0152fa553583983c5bc3bc1317b760d5cd86367242172a"
}