From nobody@FreeBSD.org  Mon Oct 25 00:08:46 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DD89E16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <durham@w2xo.pgh.pa.us>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Scan rate of sound card shifts when vchans  > 0 .
X-Send-Pr-Version: www-2.3

>Number:         73098
>Category:       kern
>Synopsis:       [sound] Scan rate of sound card shifts when vchans  > 0 .
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 25 00:10:15 GMT 2004
>Closed-Date:    Wed Dec 28 19:52:43 GMT 2005
>Last-Modified:  Wed Dec 28 19:52:43 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Mon Oct 25 10:26:15 GMT 2004 
Responsible-Changed-Why:  
Over to maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73098 
State-Changed-From-To: open->closed 
State-Changed-By: netchild 
State-Changed-When: Wed Dec 28 19:51:56 UTC 2005 
State-Changed-Why:  
This is fixed in -current. There may be a patchset for 5.x or 6.x at 
http://people.freebsd.org/~ariff/ 

http://www.freebsd.org/cgi/query-pr.cgi?pr=73098 
>Unformatted:
