From 68a759de6179b62987b3b3ae7d420530a6eb12ad Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 21 Mar 2025 09:19:43 -0400 Subject: enable virtual_oss resampling --- scripts/hostname/desktop1 | 2 +- scripts/hostname/desktop2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hostname/desktop1 b/scripts/hostname/desktop1 index e11ebd3..fc12885 100644 --- a/scripts/hostname/desktop1 +++ b/scripts/hostname/desktop1 @@ -18,7 +18,7 @@ max_channels=2 pkg install -y virtual_oss sysrc -v \ virtual_oss_enable=YES \ - virtual_oss_dsp="-T /dev/sndstat -C "$max_channels" -c "$max_channels" -r ${samplerate} -b ${bits} -s ${buffer_ms}ms -O /dev/dsp${playback_device} -R /dev/dsp${recording_device} -d dsp -t vsdp.ctl" + virtual_oss_dsp="-T /dev/sndstat -C "$max_channels" -c "$max_channels" -S -r ${samplerate} -b ${bits} -s ${buffer_ms}ms -O /dev/dsp${playback_device} -R /dev/dsp${recording_device} -d dsp -t vsdp.ctl" service virtual_oss restart set_loader_conf "hint.pcm.${recording_device}.mic=${microphone_gain}" diff --git a/scripts/hostname/desktop2 b/scripts/hostname/desktop2 index e11ebd3..fc12885 100644 --- a/scripts/hostname/desktop2 +++ b/scripts/hostname/desktop2 @@ -18,7 +18,7 @@ max_channels=2 pkg install -y virtual_oss sysrc -v \ virtual_oss_enable=YES \ - virtual_oss_dsp="-T /dev/sndstat -C "$max_channels" -c "$max_channels" -r ${samplerate} -b ${bits} -s ${buffer_ms}ms -O /dev/dsp${playback_device} -R /dev/dsp${recording_device} -d dsp -t vsdp.ctl" + virtual_oss_dsp="-T /dev/sndstat -C "$max_channels" -c "$max_channels" -S -r ${samplerate} -b ${bits} -s ${buffer_ms}ms -O /dev/dsp${playback_device} -R /dev/dsp${recording_device} -d dsp -t vsdp.ctl" service virtual_oss restart set_loader_conf "hint.pcm.${recording_device}.mic=${microphone_gain}" -- cgit v1.2.3