From 6c5e78ab457ef3bead70474ebf78127d6a8f3a56 Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 13 Dec 2024 21:08:14 -0500 Subject: update virtual_oss args, add matrix url --- src/blog/freebsd-14-on-the-desktop/index.md | 11 +---------- src/index.md | 1 + 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/blog/freebsd-14-on-the-desktop/index.md b/src/blog/freebsd-14-on-the-desktop/index.md index 7121f4e..6526c66 100644 --- a/src/blog/freebsd-14-on-the-desktop/index.md +++ b/src/blog/freebsd-14-on-the-desktop/index.md @@ -356,7 +356,7 @@ index 0, I'll enable `virtual_oss` like so: ```bash sysrc -v virtual_oss_enable=YES -sysrc -v virtual_oss_dsp='-T /dev/sndstat -C 8 -c 8 -S -r 48000 -b 16 -s 100ms -O /dev/dsp1 -R /dev/dsp0 -d dsp' +sysrc -v virtual_oss_dsp='-T /dev/sndstat -C 2 -c 2 -S -r 48000 -b 16 -s 100ms -O /dev/dsp1 -R /dev/dsp0 -d dsp' ``` You'll need to set the `-r` flag to the sample rate and `-b` to the bit depth of your device @@ -365,15 +365,6 @@ If your devices have different sample rates, the `-S` flag enables automatic res The `-s` flag sets the buffer size. I had to increase this to `100ms` to avoid clipping. -The `-c` and `-C` flags set the number of channels. I originally had this set to 2, but -found that any video with surround sound had no audio. VLC printed the following error: - -``` -oss audio output error: cannot set 6 channels -``` - -Bumping this up to 8 solved the issue. - ### Device Permissions via devfs You should create a custom `devfs(8)` ruleset to allow unprivileged users to access diff --git a/src/index.md b/src/index.md index d144ad9..235c8e3 100644 --- a/src/index.md +++ b/src/index.md @@ -19,6 +19,7 @@ I'm a computer person located in South Carolina. Welcome to my humble website. - Email: [cullum@sacredheartsc.com](mailto:cullum@sacredheartsc.com) - XMPP: [cullum@sacredheartsc.com](xmpp:cullum@sacredheartsc.com?message) - Fediverse: @cullum@bsd.cafe +- Matrix: [@cullum:sacredheartsc.com](https://matrix.to/#/@cullum:sacredheartsc.com) - IRC: [cullum on libera.chat](ircs://irc.libera.chat/cullum,isnick) - GPG: [0x5CAF6291](/gpg.asc) - Big Tech: [X](https://x.com/CullumSmith) | -- cgit v1.2.3