From owner-freebsd-multimedia@FreeBSD.ORG Fri Apr 4 13:08:50 2003 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E690737B401 for ; Fri, 4 Apr 2003 13:08:50 -0800 (PST) Received: from maeko.hayai.de (denver038.server4free.de [217.172.178.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C89FC43F75 for ; Fri, 4 Apr 2003 13:08:49 -0800 (PST) (envelope-from mail@maeko.hayai.de) Received: from maeko.hayai.de (localhost [127.0.0.1]) by maeko.hayai.de (8.12.7/8.12.7) with ESMTP id h34L99rW001145 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Apr 2003 23:09:09 +0200 Received: (from mail@localhost) by maeko.hayai.de (8.12.7/8.12.7/Submit) id h34L99nN001144 for freebsd-multimedia@freebsd.org; Fri, 4 Apr 2003 23:09:09 +0200 Date: Fri, 4 Apr 2003 23:09:09 +0200 From: Marco Wertejuk To: freebsd-multimedia@freebsd.org Message-ID: <20030404210909.GA550@maeko> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: usb audio in current X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2003 21:08:51 -0000 Hi, I'm using a Audiotrak Maya 5.1 USB Audio Controller with an IBM Thinkpad A22m, it gets identified in dmesg like this: uaudio_add_selector: NOT IMPLEMENTED uaudio0: audio rev 1.00 pcm1: on uaudio0 uhid0: vendor 0x0c45 USB Audio, rev 1.10/1.00, addr 2, iclass 3/0 cat /dev/sndstat shows this (pcm0 is my onboard soundcard): FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at irq 11 (1p/1r/0v channels duplex default) pcm1: at addr ? (1p/0r/0v channels) The USB Audiocontroller uses a samplerate of 48kHz by default, and therefore playback is distorted and slightly pitched up, because the 44.1kHz audio data is played at 48kHz. When setting the samplerate for mpg123 audio playback to 48kHz it sounds correctly, but I can hear a loss of quality, maybe the mpg123 resampling algorithm isn't very good, because resampling with sox sounds much better. Are there any plans to improve USB Audio support, for example setting the samplerate if possible, adding record support, or just merge to a newer version from the NetBSD driver? -- Mit freundlichen Gruessen, Marco Wertejuk - mwcis.com Consulting & Internet Solutions