Date: Fri, 4 Dec 2020 09:18:23 +0100 From: Per olof Ljungmark <peo@nethead.se> To: freebsd-questions@freebsd.org Subject: Re: Different sound devices for mic and speakers Message-ID: <c436b2ed-09c2-7e0d-cb60-1ef6dd79a078@nethead.se> In-Reply-To: <CA%2ByoEx_QumpJVdWapHzWNH4kVg5EuCwSz8gY3OOkdH5XBkPzBQ@mail.gmail.com> References: <1fe6a18e-9595-83fe-7edf-e6e8485d6d01@nethead.se> <1615da46-9fe4-d190-5e52-853be1319281@nethead.se> <CA%2ByoEx_QumpJVdWapHzWNH4kVg5EuCwSz8gY3OOkdH5XBkPzBQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/3/20 6:37 PM, Mario Lobo wrote: > On Thu, Dec 3, 2020 at 2:04 PM Per olof Ljungmark <peo@nethead.se> wrote: > >> On 12/3/20 5:01 PM, Per olof Ljungmark wrote: >>> For videoconferencing I have a mic in the camera, /dev/dsp6 but the >>> speakers are on /dev/dsp4. >>> >>> How can I make this work? Tried to read the man page for device.hints >>> but that just made me dizzy. Is it really the only way to do it? >>> >> >> virtual_oss seems to do the job. > > Could you elaborate on how to do that with virtual_oss? > > When I tried it with the default config, Firefox videos and audios froze. > > Here's my sndstat: > > Installed devices: > pcm0: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play) > pcm1: <NVIDIA (0x0051) (HDMI/DP 8ch)> (play) > pcm2: <Realtek ALC892 (Rear Analog 7.1/2.0)> (play/rec) default > pcm3: <Realtek ALC892 (Front Analog)> (play/rec) > pcm4: <Realtek ALC892 (Onboard Digital)> (play) > pcm5: <Realtek ALC892 (Rear Digital)> (play) > pcm6: <USB audio> (rec) <-- camera mic /dev/dsp6.0 > No devices installed from userspace. > > ugen7.2: <AVEO Technology Corp. USB2.0 Camera> at usbus7 > ugen3.2: <vendor 0x275d USB OPTICAL MOUSE> at usbus3 > ugen3.3: <Innovace HP Wire Keyboard Kit> at usbus3 > > lsusb > Bus /dev/usb Device /dev/ugen3.3: ID 05af:0806 Jing-Mold Enterprise Co., > Ltd HP SK806A Keyboard > Bus /dev/usb Device /dev/ugen3.2: ID 275d:0ba6 > Bus /dev/usb Device /dev/ugen7.2: ID 1871:0143 Aveo Technology Corp. > Bus /dev/usb Device /dev/ugen0.2: ID 2109:3431 VIA Labs, Inc. Hub > > I did only this and it just worked: virtual_oss -r 48000 -b 16 -c 2 -s 1024 -P /dev/dsp3 -R /dev/dsp4 -d dsp -P for playback and -R for recording device.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c436b2ed-09c2-7e0d-cb60-1ef6dd79a078>