Date: Tue, 16 Nov 2021 18:15:59 +0100 From: Goran =?utf-8?B?TWVracSH?= <meka@tilda.center> To: Ludovit Koren <ludovit.koren@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: sound on FreeBSD 14.0-CURRENT Message-ID: <20211116171559.vi4hfd3upzcex2y2@tilda.center> In-Reply-To: <86h7cc5tgq.fsf@gmail.com> References: <86h7cc5tgq.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--ythn3nfya6nonlzk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 16, 2021 at 10:40:37AM +0100, Ludovit Koren wrote: >=20 > Hi, >=20 > 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=20 > 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) >=20 > I am running: > /usr/local/sbin/virtual_oss -B -D /var/run/virtual_oss/dsp.pid -T /dev/sn= dstat -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. >=20 > 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. Regards, meka --ythn3nfya6nonlzk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAmGT50cACgkQWj1Tknov rLZsVw//R1M1zA52Tm7MSJ8DhwHvgXedTz+eY9i3jr3ZYlaZRT4GanRyzbUvYzBr PRx2sgogG7N/u582oaey28HaIqPy1nD0FDFo4qvHn3Idie98bGLuhKnIA+A8Xyos UwI+Tnn5fCSOwVQEzsBxC+Ibxz7lYniz3+Uywjpyvvc0rajhvEKZNeDs4L6hyQVc SZiTbCeHdLborRk3FqX+5RUGMwoDCDA2B5XXUPVVKUWuGLyIiYxDL05YNy25fA1p 5+XscHG9qNFnZDQ/Rte3ENqedEYUt/VTYU2jfcPw83jorQ1mqFdplmh9Psc5tB3O +J55eRYRoxnVwY20WdnbygzILYQSCODvExfgTbY2VflZoc79/w/3n6YglzO/TK9c 3n4rnfJ3r2HDZYtnN/K4WPPhOjKueQsXOIOrwb2+TrlbULX7N7FcO8xrqHkLlrS6 NZZWIxzT1WZ0i1c0I8orknMgyUi6G0nnPiZFu9qZP5EivFN4/ZAB9rZb88nK9sXs RzWu+pQZCxxlKgYOx77yfQJ6NfI2cUYl/DrKHP9HgyBadQGivinm/5Lqj0oG2W0Z FscKPnq4XtIpKDkt0CXygtC23S6zY8lBbchaMkGCBU66L2m+gPcCHCwNqoNJ64y3 N3P/wYU1Oj9o3Mo7B5uk7n+IBL1OGuttCd+sNQwvL7wI9lY/yv4= =Rsio -----END PGP SIGNATURE----- --ythn3nfya6nonlzk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20211116171559.vi4hfd3upzcex2y2>