Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2020 13:45:13 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-current@freebsd.org, FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: USB microphones with FreeBSD-CURRENT
Message-ID:  <v9mo-zm06-wny@FreeBSD.org>
In-Reply-To: <5c93c4d2-897b-0671-b29a-9fde6031adf5@gmail.com> (Graham Perrin's message of "Sat, 28 Mar 2020 06:31:11 %2B0000")
References:  <5c93c4d2-897b-0671-b29a-9fde6031adf5@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Graham Perrin <grahamperrin@gmail.com> writes:

> I can't get web browsers to recognise USB microphones.
>
> USB output (e.g. to my headphones) is OK.
>
> USB input (e.g. from the microphone part of the headphones) is not.
>
> Any suggestions?

Firefox uses "pulse-rust" cubeb backend *by default* if "pulseaudio"
package is installed. getUserMedia is supposed to preset a dropdown menu
to select a microphone. Make sure pulseaudio actually recognizes the
desired microphone e.g., debug via "pactl list" and "parec".

I don't have a mic but, looking at the code, only pulse-rust or pulse
backends on Linux/FreeBSD support selecting non-default audio device.
It maybe possible to use other backends but if audio device used for
output and input are different that'd require routing defaults which can
be done via config file (e.g., ~/.asoundrc) or externally via virtual_oss.

> pcm3: <USB audio> (play/rec) default
> pcm4: <USB audio> (rec)

Are these distinct physical devices?

> hw.snd.default_unit: 3

Have you tried using 4?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v9mo-zm06-wny>