Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2020 00:38:02 -0400
From:      Waitman Gobble <gobble.wa@gmail.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: USB sound devices with FreeBSD-CURRENT
Message-ID:  <CAFuo_fwgOk4dPmveS-spTp9xx6r_akP42cV88n460jB27JSWaA@mail.gmail.com>
In-Reply-To: <20200916013308.7d9176ce@archlinux>
References:  <mailman.121.1599998402.92352.freebsd-questions@freebsd.org> <ac0c29f6-fa12-4e38-9ffe-03fb2e92865b@www.fastmail.com> <20200915183558.142cce6e@archlinux> <20200915185027.5baf8b53@archlinux> <CAN6yY1vmTv-jxACJNcKRBVLr5V_KEC2fQw4SZ3wTONKgRHfDRQ@mail.gmail.com> <20200916012457.30a2f4d3@archlinux> <20200916013308.7d9176ce@archlinux>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Tue, Sep 15, 2020 at 7:40 PM Ralf Mardorf <ralf-mardorf@riseup.net> wrote:
>
> On Wed, 16 Sep 2020 01:24:57 +0200, Ralf Mardorf wrote:
> >Given that it connects with the audio devices
>                                        ^^^^^^^
> This should read "device" (singular), one at a time, but it's possible
> to switch between audio devices.
>
> If switching between devices is possible "on the fly", depends on the
> definition of "on the fly".


I have used SNDIO with Firefox and USB audio, it works. However you
have to sysctl hw.snd.default_unit=(# of dev) and set the USB audio
device as the default _before_ you start Firefox.

If you use SNDIO and connect to the hardware device directly, it is
kind of a pain especially if you disconnect the audio device. You
pretty much have to reboot or it will fill up your logs with errors.

AFAIK OSS doesn't 'know' anything about USB audio. USB audio goes
through uaudio kernel module.
Pulseaudio can work, it's a shim / api between client and hardware.
You can change audio devices easier.
Somebody mentioned the virtual_oss package, that might work with USB
audio? It's a shim as well.
Maybe ALSA works? But that's Linux sound. It's not interesting to run
ALSA on FreeBSD IMHO.  SNDIO is 'tastes great, less filling'. I'm
pretty sure there's nothing gained with ALSA.
Make Jack works great too. But It's kinda like one has to go to a 12
week training program to learn to use. At least that's how I feel
about Jack.


-- 
Waitman Gobble



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAFuo_fwgOk4dPmveS-spTp9xx6r_akP42cV88n460jB27JSWaA>