Different sound devices for mic and speakers

Per olof Ljungmark peo at nethead.se
Fri Dec 4 08:18:32 UTC 2020


On 12/3/20 6:37 PM, Mario Lobo wrote:
> On Thu, Dec 3, 2020 at 2:04 PM Per olof Ljungmark <peo at 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.


More information about the freebsd-questions mailing list