Re: sound on FreeBSD 14.0-CURRENT
- In reply to: Goran Mekić : "Re: sound on FreeBSD 14.0-CURRENT"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 16 Nov 2021 17:39:24 UTC
>>>>> Goran Mekić <meka@tilda.center> writes: > On Tue, Nov 16, 2021 at 10:40:37AM +0100, Ludovit Koren wrote: >> >> Hi, >> >> I am running FreeBSD 14.0-CURRENT #0 main-n250646-c0525ab1d1c-dirty: Sat Nov 13 16:42:44 CET 2021 >> Here is the output from: >> cat /dev/sndstat >> Installed devices: >> pcm0: <Realtek ALC285 (Analog)> (play/rec) default >> pcm1: <Realtek ALC285 (Left Analog Headphones)> (play) >> pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play) >> Installed devices from userspace: >> dsp: <Virtual OSS> (play/rec) >> vdsp: <Virtual OSS> (play/rec) >> >> I am running: >> /usr/local/sbin/virtual_oss -B -D /var/run/virtual_oss/dsp.pid -T >> /dev/sndstat -S -i 8 -C 18 -c 18 -r 48000 -b 32 -s 512 -f /dev/dsp0 >> -c 2 -d dsp -c 18 -d vdsp -t vdsp.ctl > This suspiciously looks like my config. For example, you're creating > 18ch /dev/vdsp which I'm sure is not the channel count on your device. > For start remove "-c 18 -d vdsp", that part is what you don't need. > Anyway, why not using rc.conf and virtual_oss service? For start, it > will create /var/run/virtual_oss which does not exist by default. >> >> I am not able to redirect to different output even if I try for example: > Be aware that something being pcm0 doesn't mean it will be parrent of > dsp0. I'm not sure how to check which dsp device you need to use, > though. Do ls -l /dev/dsp* and try them all. That is exactly what I did before I tried mailing list... lk