Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2021 14:04:44 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        KIRIYAMA Kazuhiko <kiri@truefc.org>, Tomasz CEDRO <tomek@cedro.info>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Mic does not work with Zoom on Chromium 92.0.4515.159.
Message-ID:  <e61cf0c9-c75f-eb32-e9c9-9893d6d72188@selasky.org>
In-Reply-To: <202110071201.197C1ATK068567@kx.truefc.org>
References:  <202110041017.194AHqZ9085897@kx.truefc.org> <6323c7c6-1221-1bb4-6028-344fded44558@selasky.org> <202110041052.194AqeLc086237@kx.truefc.org> <a5eefd8b-c4aa-36fe-0ccf-269b010e65a8@selasky.org> <9d9fcf6b-8c2d-8659-bd42-dfb61d2d74f7@selasky.org> <CAM8r67A7jH2H5G-hvTfxyF%2B49Za%2ByZsNDRN=s1OxeYKHLvJ4YQ@mail.gmail.com> <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> <CAM8r67DDBSkWuVBmQSFeW4J8HRT6bYP%2BUGfGu4W3tRJ8ujAf5g@mail.gmail.com> <202110070152.1971pxJ8061955@kx.truefc.org> <202110071201.197C1ATK068567@kx.truefc.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e61cf0c9-c75f-eb32-e9c9-9893d6d72188>