From nobody Thu Oct 7 12:10:44 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 2073812D6089 for ; Thu, 7 Oct 2021 12:11:46 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HQ9D209V2z4rWC for ; Thu, 7 Oct 2021 12:11:45 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oi1-x233.google.com with SMTP id n64so8757988oih.2 for ; Thu, 07 Oct 2021 05:11:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=JL4NUZ4dL1XC9y0SSFnorhN8YyRmF6R6LoW0scJz0wM=; b=Y4FauJJ2O6ptYuOlJZUSLu8Dq/5YgWQE8Ss2InZCWeXf/Yqnl1P+8QrHy8t33D9DzT Gbd7oQDMHCGg9O7dCx0lwLZlsGC90aI1aqs4nhXzn831py8mwjwgXEE/dewoU04jlDrS gwwMsgp07FF5wmoPTYF3rRpiFLDsu9wR1ORFig5eGwFkeIk+tNg2SHMg/oOT7zrseMx8 2/2EoUxLic31Jps8oD0YPt+sc6lFgofQfO6ssir1kgeIF6iXsvO3H5VgTbS3j6C5SoCm AWKDR7dESy5c9ukdz0V7nmR5/785IKZy+dvOMvQaK3TdR+PkSm6fd2eZWk86Nmlr/yqD 5t6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=JL4NUZ4dL1XC9y0SSFnorhN8YyRmF6R6LoW0scJz0wM=; b=6QRoQ0NqGMSCKnd7Q1c8OjlHQA1xPCswmRR41il/vgJuHEllnyohLvcNWhrQUzrvvR Kyh7DW9T7jHnzl5K/XyqLCnQLJnS0ITmgOK5f5M3uH1RvcQLTHx20cwc56EYUUmbTBjQ Lm1qDr/1Io/HR6x4WzPTsdQ8SEy8xqI3Oh58VkUPcvoBAeHJ2E9aUzncqLlahYmhanSH vJ7pCO7hZtdJYJiYq9VEKXREE9AL0s1k5VLnGsa63KjwTQ2tS5ToGTovg0Eq+/d18NpQ p8ztCF6Pn37fUfZktsK80Qokxs9xGYXCIi3qdotclzrX43SL0f2E9bimVh6rEFJPEb1f hJDw== X-Gm-Message-State: AOAM531znYNSwsT2gtkl7AqgOFPi4qEGYVgZ25clK8Echd/ZOmRTON22 cxfrGb5pUVhUGySvfgWG/E0hY3E4cdqQKY9L8iMQNCbiK70= X-Google-Smtp-Source: ABdhPJy/ajRwpT3CguDKIk4KS2zAeoSYDyNX7AUAG/+BbGa0Jx9mk/qh3UwS828HmFKG+XTVMLZV33ZfXQRLn+yuR4A= X-Received: by 2002:aca:1c02:: with SMTP id c2mr2768580oic.11.1633608698688; Thu, 07 Oct 2021 05:11:38 -0700 (PDT) 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 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> In-Reply-To: From: Tomasz CEDRO Date: Thu, 7 Oct 2021 14:10:44 +0200 Message-ID: Subject: Re: Mic does not work with Zoom on Chromium 92.0.4515.159. To: Hans Petter Selasky Cc: KIRIYAMA Kazuhiko , freebsd-multimedia@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4HQ9D209V2z4rWC X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N 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 :-( Tomek On Thu, Oct 7, 2021 at 2:04 PM Hans Petter Selasky wrote: > > On 10/7/21 2:01 PM, KIRIYAMA Kazuhiko wrote: > > On Thu, 07 Oct 2021 10:51:59 +0900, > > KIRIYAMA Kazuhiko wrote: > >> > >> On Wed, 06 Oct 2021 07:34:49 +0900, > >> Tomasz CEDRO wrote: > >>> > >>> On Wed, Oct 6, 2021 at 12:29 AM KIRIYAMA Kazuhiko wrote: > >>>> I don't know how to open /dev/dsp4.0. > >>> > >>> This is just /dev/dsp4, you can try try produce some noise on the > >>> speaker with the same result: > >>> > >>> cat /dev/random > /dev/dsp4 > >>> > >>> cat /dev/random > /dev/dsp4.0 > >>> > >>> See my previous detailed message on sndio configuration :-) > >>> > >>> export AUDIODEVICE="rsnd/4" > >>> > >>> Above should do the job. > >>> > >>> Remember you need to export it in local terminal that you run chromium > >>> after export, or if you put it in ~/.profile then you need to logout > >>> and login again or start new terminal. > >>> > >>> You can verify if the env is set with: > >>> > >>> echo $AUDIODEVICE > >>> > >>> That should return delected device: rsnd/4 > >> > >> I've set bellow : > >> > >> export AUDIOPLAYDEVICE="rsnd/5" > >> export AUDIORECDEVICE="rsnd/4" > >> > >> and start zoom on chromium, then /dev/dsp4.0 > >> grew. And tested mic by : > >> > >> % aucat -o tmp/test.wav > >> % aucat -i tmp/test.wav > >> > >> My voice sound from my speaker (/dev/dsp5.0) :-) > >> Thanx Tomasz !!! > >> > >> BTW mic volume is low and I set sndiod with : > >> > >> # /usr/local/bin/sndiod -a on -m rec -f rsnd/4 -v 127 > >> > >> but volume not changed. Is there any way to control mic > >> volume ? > > > > Thats' mixer. I've set max input of mic as follows : > > > > % mixer -f /dev/mixer4 > > Mixer mic is currently set to 25:25 > > Recording source: mic > > % mixer -f /dev/mixer4 mic 100 > > Setting the mixer mic from 25:25 to 100:100. > > % > > Hi, > > FYI > > virtual_oss can over-gain the signal and add a so-called compressor in > the end to avoid clipping. > > I'm not sure about sndiod. > > --HPS -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info