From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 25 00:10:15 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA1916A4CE for ; Mon, 25 Oct 2004 00:10:15 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 739E743D2D for ; Mon, 25 Oct 2004 00:10:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9P0AFgd083842 for ; Mon, 25 Oct 2004 00:10:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9P0AFCY083841; Mon, 25 Oct 2004 00:10:15 GMT (envelope-from gnats) Resent-Date: Mon, 25 Oct 2004 00:10:15 GMT Resent-Message-Id: <200410250010.i9P0AFCY083841@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jim Durham Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD89E16A4CE for ; Mon, 25 Oct 2004 00:08:46 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFCFF43D41 for ; Mon, 25 Oct 2004 00:08:46 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9P08kko060132 for ; Mon, 25 Oct 2004 00:08:46 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i9P08ktN060130; Mon, 25 Oct 2004 00:08:46 GMT (envelope-from nobody) Message-Id: <200410250008.i9P08ktN060130@www.freebsd.org> Date: Mon, 25 Oct 2004 00:08:46 GMT From: Jim Durham To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: kern/73098: Scan rate of sound card shifts when vchans > 0 . X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Oct 2004 00:10:15 -0000 >Number: 73098 >Category: kern >Synopsis: Scan rate of sound card shifts when vchans > 0 . >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 25 00:10:15 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jim Durham >Release: 5.2.1-RELEASE >Organization: >Environment: FreeBSD localhost 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #2: Mon Aug 30 17:45:57 EDT 2004 root@localhost:/usr/obj/usr/src/sys/JIMSLAPTOP i386 >Description: When you set hw.snd.pcm0.vchans greater than 0, the pitch of the played back sound changes about 8%. This is probably the difference between the native 48khz scan rate of the sound card and the 44.1khz scan rate needed to play the wav file or mp3 file. >How-To-Repeat: sysctl hw.snd.pcm0.vchans=4 >Fix: Workaround set sysctl hw.snd.pcm0.vchans=0. Some time back, I discovered this about the time of 5.0 or 5.1 RELEASE and I worked with someone from the development team who apparently fixed the problem and committed the fix. However, I lost my old sent-mail file and I can't remember who it was. I just discovered recently that the problem is apparently back. >Release-Note: >Audit-Trail: >Unformatted: