aboutsummaryrefslogtreecommitdiff
path: root/src/blog/freebsd-14-on-the-desktop
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-12-13 21:08:14 -0500
committerCullum Smith <cullum@sacredheartsc.com>2024-12-13 21:08:14 -0500
commit6c5e78ab457ef3bead70474ebf78127d6a8f3a56 (patch)
tree10e6192b1ab4dc4d5b1998dd4c9bc5f1c2181ae2 /src/blog/freebsd-14-on-the-desktop
parent1e9782a73a2e38efd0303ef0e68f892896cb8d34 (diff)
downloadwebsite-6c5e78ab457ef3bead70474ebf78127d6a8f3a56.tar.gz
update virtual_oss args, add matrix urlHEADmaster
Diffstat (limited to 'src/blog/freebsd-14-on-the-desktop')
-rw-r--r--src/blog/freebsd-14-on-the-desktop/index.md11
1 files changed, 1 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