diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-22 08:38:40 -0500 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2024-11-22 08:38:40 -0500 |
commit | 589528dc75123ef451b55d3dd321a19deef7f632 (patch) | |
tree | f717ca080d19a06f0976e7f0f3a3cfd1cc859790 | |
parent | 95e5d4d34c42806e5d600513ca2078a29f72553c (diff) | |
download | website-589528dc75123ef451b55d3dd321a19deef7f632.tar.gz |
freebsd on the desktop: increase virtual_oss buffer
-rw-r--r-- | src/blog/freebsd-14-on-the-desktop/index.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blog/freebsd-14-on-the-desktop/index.md b/src/blog/freebsd-14-on-the-desktop/index.md index 8a4bdff..6d15782 100644 --- a/src/blog/freebsd-14-on-the-desktop/index.md +++ b/src/blog/freebsd-14-on-the-desktop/index.md @@ -356,14 +356,14 @@ 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 2 -c 2 -S -r 48000 -b 16 -s 25ms -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 (you can usually find these values in `dmesg`). If your devices have different sample rates, the `-S` flag enables automatic resampling. -The `-s` flag sets the buffer size. I had to increase this to `25ms` to avoid clipping. +The `-s` flag sets the buffer size. I had to increase this to `100ms` to avoid clipping. ### Device Permissions via devfs |