From nobody Fri Oct 8 02:06:01 2021 X-Original-To: freebsd-multimedia@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 61277179B803 for ; Fri, 8 Oct 2021 02:06:10 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HQWkn6fCDz4kq8 for ; Fri, 8 Oct 2021 02:06:09 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [36.52.212.1]) by kx.truefc.org (8.16.1/8.16.1) with ESMTP id 198261gA097841; Fri, 8 Oct 2021 11:06:01 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202110080206.198261gA097841@kx.truefc.org> Date: Fri, 08 Oct 2021 11:06:01 +0900 From: KIRIYAMA Kazuhiko To: "Dave Cottlehuber" Cc: freebsd-multimedia@freebsd.org Subject: Re: Mic does not work with Zoom on Chromium 92.0.4515.159. In-Reply-To: <98204833-ee1e-4c2a-ab0d-cbbfff23faf7@www.fastmail.com> References: <202110041017.194AHqZ9085897@kx.truefc.org> <6323c7c6-1221-1bb4-6028-344fded44558@selasky.org> <202110041052.194AqeLc086237@kx.truefc.org> <9d9fcf6b-8c2d-8659-bd42-dfb61d2d74f7@selasky.org> <202110051033.195AXBsX059249@kx.truefc.org> <95138258-4c6b-92f4-fc56-45a4618edc8d@selasky.org> <202110051146.195BklYI092330@kx.truefc.org> <0b1ded5a-cfc8-1c2e-7920-eac257332298@selasky.org> <202110052229.195MTpav024388@kx.truefc.org> <202110070152.1971pxJ8061955@kx.truefc.org> <202110071201.197C1ATK068567@kx.truefc.org> <98204833-ee1e-4c2a-ab0d-cbbfff23faf7@www.fastmail.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) List-Id: Multimedia discussions List-Archive: https://lists.freebsd.org/archives/freebsd-multimedia List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-multimedia@freebsd.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4HQWkn6fCDz4kq8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N On Thu, 07 Oct 2021 23:28:10 +0900, Dave Cottlehuber wrote: > > On Thu, 7 Oct 2021, at 12:10, Tomasz CEDRO wrote: > > Daaamn I am on a cal right now Chromium + Teams and no matter what > > setting sndio sound always goes to external speakers. > > > > Anyother change in Chrome??? > > > > Please stay PulseAudio enadbled for f-- sake this is the only sensible > > solution that works on the fly. > > > > How more world will work like this :-( > > funny, I find pulse audio infinitely frustrating. > > Tomasz, > > your sndio tips help on my setup, now I can do audio confs in chromium, > with appropriate x11 screen sharing [1]: > > vvvvv > pcm0: at ? kld snd_uaudio (0p:0v/1r:2v) webcamd audio+video > pcm1: at ? kld snd_uaudio (1p:5v/0r:0v) default mojo+speakers > ^^^^^ > $ touch /dev/dsp0 /dev/dsp1 > $ export AUDIORECDEVICE=rsnd/0 > $ export AUDIOPLAYDEVICE=rsnd/1 > $ sndiod -ddd & > snd0 pst=cfg.default: rec=0:1 play=0:1 vol=32768 dup > listen(/tmp/sndio-1002/sock0|ini): created > $ chrome --incognito --new-window --user-data-dir=$(mktemp -d -t incognito) https://whereby.com/ & > > I enabled sndio as a daemon, including the env vars: > > # /etc/rc.conf.d/sndiod > sndiod_enable=YES > sndiod_env="AUDIORECDEVICE=rsnd/0 AUDIOPLAYDEVICE=rsnd/1" Waht's changed /usr/local/rc.d/sndiod ? If you expose it, I'd like to get your /usr/local/rc.d/sndiod. > > I do notice that lossless music (e.g. flac or similar) isn't sounding as crisp, though, compared to my mojo chord USB-DAC. But I can live with this for meetings. > > It would be nicer when this upstream firefox bug finally gets merged, and sharing a single monitor becomes possible: > > [1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1412333 > > A+ > Dave > > # full /dev/sndstat `full' command ??? > FreeBSD Audio Driver (64bit 2009061500/amd64) > Installed devices: > pcm0: at ? kld snd_uaudio (0p:0v/1r:2v) > snddev flags=0x2e3 > [pcm0:record:dsp0.r0]: spd 32000, fmt 0x00200010, flags 0x00002100, 0x00000005 > interrupts 22788, overruns 0, feed 45576, hfree 2048, sfree 2048 [b:2048/1024/2|bs:2048/1024/2] > channel flags=0x2100 > {hardware} -> feeder_root(0x00200010) -> feeder_mixer(0x00200010) -> {userland} > pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr0]: spd 48000/32000, fmt 0x00200010, flags 0x10000000, 0x00000029 > interrupts 0, overruns 0, feed 0, hfree 0, sfree 32768 [b:0/0/0|bs:32768/256/128] > channel flags=0x10000000 > {hardware} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 32000 -> 48000) -> {userland} > pcm0:record:dsp0.r0[pcm0:virtual:dsp0.vr1]: spd 8000/32000, fmt 0x00100008/0x00200010, flags 0x10000000, 0x0000006b > interrupts 0, overruns 0, feed 0, hfree 0, sfree 2048 [b:0/0/0|bs:2048/16/128] > channel flags=0x10000000 > {hardware} -> feeder_root(0x00200010) -> feeder_matrix(2.0 -> 1.0) -> feeder_volume(0x00100010) -> feeder_rate(0x00100010 q:1 32000 -> 8000) -> feeder_format(0x00100010 -> 0x00100008) -> {userland} > pcm1: at ? kld snd_uaudio (1p:5v/0r:0v) default > snddev flags=0x2e3 > [pcm1:play:dsp1.p0]: spd 48000, fmt 0x00200010/0x00201000, flags 0x00002100, 0x00000006 > interrupts 27303, underruns 0, feed 27302, ready 0 [b:6144/3072/2|bs:4096/2048/2] > channel flags=0x2100 > {userland} -> feeder_mixer(0x00200010) -> feeder_format(0x00200010 -> 0x00201000) -> {hardware} > pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp0]: spd 48000, fmt 0x00200010, flags 0x10000000, 0x00000021 > interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] > channel flags=0x10000000 > {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> {hardware} > pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp1]: spd 48000, fmt 0x00100010/0x00200010, flags 0x10000000, 0x00000061 > interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/512/8] > channel flags=0x10000000 > {userland} -> feeder_root(0x00100010) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware} > pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp2]: spd 48000, fmt 0x00100010/0x00200010, flags 0x10000000, 0x00000061 > interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/512/8] > channel flags=0x10000000 > {userland} -> feeder_root(0x00100010) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware} > pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp3]: spd 48000, fmt 0x00100010/0x00200010, flags 0x10000000, 0x00000061 > interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:4096/512/8] > channel flags=0x10000000 > {userland} -> feeder_root(0x00100010) -> feeder_matrix(1.0 -> 2.0) -> feeder_volume(0x00200010) -> {hardware} > pcm1:play:dsp1.p0[pcm1:virtual:dsp1.vp4]: spd 44100/48000, fmt 0x00200010, flags 0x10000000, 0x00000029 > interrupts 0, underruns 0, feed 0, ready 0 [b:0/0/0|bs:8192/1024/8] > channel flags=0x10000000 > {userland} -> feeder_root(0x00200010) -> feeder_volume(0x00200010) -> feeder_rate(0x00200010 q:1 44100 -> 48000) -> {hardware} > No devices installed from userspace. > --- Kazuhiko Kiriyama