diff options
author | Cullum Smith <cullum@sacredheartsc.com> | 2025-03-21 09:19:43 -0400 |
---|---|---|
committer | Cullum Smith <cullum@sacredheartsc.com> | 2025-03-21 09:19:43 -0400 |
commit | 68a759de6179b62987b3b3ae7d420530a6eb12ad (patch) | |
tree | b92197adc1522ef4a8fb63d5bd5665bfbd0dea8c | |
parent | f57c0e04db157bbd82e011c46e240c10d92734a3 (diff) | |
download | infrastructure-68a759de6179b62987b3b3ae7d420530a6eb12ad.tar.gz |
enable virtual_oss resampling
-rw-r--r-- | scripts/hostname/desktop1 | 2 | ||||
-rw-r--r-- | 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}" |