Solved virtual_oss stopped working after the latest quarterly update

virtual_oss has stopped working for me after the latest quarterly update

Code:
doas pkg install virtual_oss

Code:
/etc/rc.conf

Code:
# virtual oss
virtual_oss_enable="YES"
virtual_oss_configs="dsp"
virtual_oss_dsp="-T /dev/sndstat -S -Q 0 -C 2 -c 2 -r 48000 -b 16 -s 1024 -P /dev/dsp1 -R /dev/null -w vdsp.wav -l dsp -t vdsp.ctl"
# sndiod audio
sndiod_enable="YES"

virtual oss set up

 
this looks like the issue

Starting Virtual OSS config dsp ...virtual_oss: illegal option -- T

Code:
/etc/rc.conf

Code:
virtual_oss_dsp="-T /dev/sndstat -S -Q 0 -C 2 -c 2 -r 48000 -b 16 -s 1024 -P /dev/dsp1 -R /dev/null -w vdsp.wav -l dsp -t vdsp.ctl"
 
removed -T /dev/sndstat

Code:
/etc/rc.conf

changed from

Code:
virtual_oss_dsp="-T /dev/sndstat -S -Q 0 -C 2 -c 2 -r 48000 -b 16 -s 1024 -P /dev/dsp1 -R /dev/null -w vdsp.wav -l dsp -t vdsp.ctl"

to

Code:
virtual_oss_dsp="-S -Q 0 -C 2 -c 2 -r 48000 -b 16 -s 1024 -P /dev/dsp1 -R /dev/null -w vdsp.wav -l dsp -t vdsp.ctl"

that fixed that issue

so looks like the -T option has been removed
 
Back
Top