From owner-freebsd-questions@freebsd.org Wed Sep 16 04:38:17 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A02B3ED0A1 for ; Wed, 16 Sep 2020 04:38:17 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-ed1-x544.google.com (mail-ed1-x544.google.com [IPv6:2a00:1450:4864:20::544]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BrnQv6tSBz4BsR for ; Wed, 16 Sep 2020 04:38:15 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: by mail-ed1-x544.google.com with SMTP id b12so4859190edz.11 for ; Tue, 15 Sep 2020 21:38:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=YR7WX5LiiS2Nhwc1OjdIEb4ai4tq5p1q0gVwXWUmlY0=; b=QjArRELl12pM6LVm9zEyV4+cQEk82TYaCNu65F2o99TAyRwoDuUA1ND7UjnjKMD5d2 npL9lt94vcy0J012p1FbTJL5IL3KlCvlLD372786iceDXo8pXMGk7qdHe1F0n6fnZI2Z Nuc7OHOuRCvFzGYJL1t9ghs2UaL7F7Qy1F8VNJfFatqIWoL7Gr48b92WotKxF/y9gekY xpt/O7ns2ds5btuMFRMmJe3INA1op9wCzMdb/J9J3zZ9v3OKkZ4akEqRllrHN/1QonjO dKNKqImoDIFvyqz8OR57UiApTdA1Qb+s5AVLjEcxRCyj7klP64WIv+uhe8z/1FhZYUvO 3x9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=YR7WX5LiiS2Nhwc1OjdIEb4ai4tq5p1q0gVwXWUmlY0=; b=RgJm9te0U11KomW9PkTPaG8SLYeCyv+PP8kiUy97VdtPngsMqY6kecCbfJiV/QFaAJ 0eHeOxAxruzGV2K7QTMxkkDmql/R/hs0nVd9C/01jITPo5tyvKr6FUKWpjjkXXhFgMFL 9GqKNu0FVTFcQeyjh2fweJg+44efkWiY3+imZYMeWy0KVE3NdseJO74Z1VkRoEYoFEgC KobqYbCeYg90XjE1mwKUqkJmsKH5R3H+coWPYq07NOzBo+jqxktIpUAnaeP1joqgEns0 5UeChh3RvB8ZbZI3S5pBk0Ca5anhDMfgDxSETvhTdYhDRqQUotP8SHpNTnQzQrYSQsSJ dZVQ== X-Gm-Message-State: AOAM531GfWA+aa7zYGZakOoohRqb0j2vt8jt8DUVaVY1r5jdIt+OqjO2 QJfN2aTo/j4xFKgIqhNXbsljmeue15CYH3ae+IcUbRtUMxeWSg== X-Google-Smtp-Source: ABdhPJx2bfg4uJOLCfa0PUe1jEH+Pmu/joEHFcVTkyFbigi8L9d3PxDwhikcMpFIPP3+Qy09LOBFITYiWVxyjmb/8Xk= X-Received: by 2002:a50:cdd1:: with SMTP id h17mr26065713edj.94.1600231094066; Tue, 15 Sep 2020 21:38:14 -0700 (PDT) MIME-Version: 1.0 References: <20200915183558.142cce6e@archlinux> <20200915185027.5baf8b53@archlinux> <20200916012457.30a2f4d3@archlinux> <20200916013308.7d9176ce@archlinux> In-Reply-To: <20200916013308.7d9176ce@archlinux> From: Waitman Gobble Date: Wed, 16 Sep 2020 00:38:02 -0400 Message-ID: Subject: Re: USB sound devices with FreeBSD-CURRENT To: FreeBSD Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4BrnQv6tSBz4BsR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=QjArRELl; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gobblewa@gmail.com designates 2a00:1450:4864:20::544 as permitted sender) smtp.mailfrom=gobblewa@gmail.com X-Spamd-Result: default: False [-3.24 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-0.95)[-0.951]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_HAM_LONG(-0.98)[-0.978]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::544:from]; NEURAL_HAM_SHORT(-0.31)[-0.311]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2020 04:38:17 -0000 On Tue, Sep 15, 2020 at 7:40 PM Ralf Mardorf 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