From nobody Tue Nov 16 17:15:59 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 151CB1889DA4 for ; Tue, 16 Nov 2021 17:16:08 +0000 (UTC) (envelope-from meka@tilda.center) Received: from c3po.tilda.center (c3po.tilda.center [108.61.164.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Htt4l6Zy8z3CKV for ; Tue, 16 Nov 2021 17:16:07 +0000 (UTC) (envelope-from meka@tilda.center) Received: from tilda.center (178-220-5-137.static.isp.telekom.rs [178.220.5.137]) by c3po.tilda.center (Postfix) with ESMTPSA id E6A4311919; Tue, 16 Nov 2021 18:15:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tilda.center; s=c3po; t=1637082960; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QtHXawgSuTwGOBt4NFAsgWYJtjcP0rIAOFp4kNspzGA=; b=ZR5HrtZazSJem43bN/qAuAaJRcdEG/IgPUf6T2bGxawJSNdBLwaxGH9ti5DnNHfCKmpdQX MA6sI1HkSdqSLuL3tNZq+4yUDWdjtVnikfuSwUNWUWbwfAxNyQtYOI+HlK2y/hzSSFSVSQ ojsFiiT7Aq/4OgLO1YmbpG2c/BdTXxg= Date: Tue, 16 Nov 2021 18:15:59 +0100 From: Goran =?utf-8?B?TWVracSH?= To: Ludovit Koren Cc: freebsd-current@freebsd.org Subject: Re: sound on FreeBSD 14.0-CURRENT Message-ID: <20211116171559.vi4hfd3upzcex2y2@tilda.center> References: <86h7cc5tgq.fsf@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ythn3nfya6nonlzk" Content-Disposition: inline In-Reply-To: <86h7cc5tgq.fsf@gmail.com> X-Rspamd-Queue-Id: 4Htt4l6Zy8z3CKV X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --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: (play/rec) default > pcm1: (play) > pcm2: (play) > Installed devices from userspace: > dsp: (play/rec) > vdsp: (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--