From nobody@FreeBSD.org  Tue Jul  7 08:23:49 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E2140106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Jul 2009 08:23:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D15318FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  7 Jul 2009 08:23:49 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n678Nnwk010715
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 7 Jul 2009 08:23:49 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n678NnHa010710;
	Tue, 7 Jul 2009 08:23:49 GMT
	(envelope-from nobody)
Message-Id: <200907070823.n678NnHa010710@www.freebsd.org>
Date: Tue, 7 Jul 2009 08:23:49 GMT
From: anonymous <>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pcm.4: typo in sysctl names
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         136408
>Category:       docs
>Synopsis:       pcm.4: typo in sysctl names
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 07 08:30:02 UTC 2009
>Closed-Date:    Tue Jul 07 14:00:23 UTC 2009
>Last-Modified:  Tue Jul  7 14:10:02 UTC 2009
>Originator:     anonymous
>Release:        FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
>Description:
hw.snd.feeder_polyphase_max -> hw.snd.feeder_rate_polyphase_max
hw.snd.feeder_quality -> hw.snd.feeder_rate_quality

According to <http://people.freebsd.org/~ariff/SOUND_4.TXT.html> and live system.
>How-To-Repeat:
$ sysctl hw.snd.feeder_polyphase_max
sysctl: unknown oid 'hw.snd.feeder_polyphase_max'
$ sysctl hw.snd.feeder_rate_polyphase_max
hw.snd.feeder_rate_polyphase_max: 183040

$ sysctl hw.snd.feeder_quality
sysctl: unknown oid 'hw.snd.feeder_quality'
$ sysctl hw.snd.feeder_rate_quality
hw.snd.feeder_rate_quality: 4

>Fix:
--- pcm.4.diff begins here ---
Index: share/man/man4/pcm.4
===================================================================
--- share/man/man4/pcm.4	(revision 195422)
+++ share/man/man4/pcm.4	(working copy)
@@ -243,13 +243,13 @@
 All requested sample rates will be rounded to the nearest threshold value.
 Possible values range between 0 (disabled) and 500.
 Default is 25.
-.It Va hw.snd.feeder_polyphase_max
+.It Va hw.snd.feeder_rate_polyphase_max
 Adjust to set the maximum number of allowed polyphase entries during the
 process of building resampling filters.
 Only applicable when the SINC interpolator is used.
 Default value is 183040.
 Set to 0 to disable polyphase resampling.
-.It Va hw.snd.feeder_quality
+.It Va hw.snd.feeder_rate_quality
 Sample rate converter quality.
 Default value is 1, linear interpolation.
 Available options include:
--- pcm.4.diff ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: joel 
State-Changed-When: Tue Jul 7 13:59:13 UTC 2009 
State-Changed-Why:  
Fixed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=136408 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/136408: commit references a PR
Date: Tue,  7 Jul 2009 13:59:02 +0000 (UTC)

 Author: joel (doc committer)
 Date: Tue Jul  7 13:58:47 2009
 New Revision: 195424
 URL: http://svn.freebsd.org/changeset/base/195424
 
 Log:
   Fix two typos and sort sysctls.
   
   PR:		docs/136408
   Approved by:	re (blanket)
 
 Modified:
   head/share/man/man4/pcm.4
 
 Modified: head/share/man/man4/pcm.4
 ==============================================================================
 --- head/share/man/man4/pcm.4	Tue Jul  7 09:43:44 2009	(r195423)
 +++ head/share/man/man4/pcm.4	Tue Jul  7 13:58:47 2009	(r195424)
 @@ -25,7 +25,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd July 6, 2009
 +.Dd July 7, 2009
  .Dt SOUND 4
  .Os
  .Sh NAME
 @@ -237,19 +237,13 @@ rates.
  Maximum allowable sample rate.
  .It Va hw.snd.feeder_rate_min
  Minimum allowable sample rate.
 -.It Va hw.snd.feeder_rate_round
 -Sample rate rounding threshold, to avoid large prime division at the
 -cost of accuracy.
 -All requested sample rates will be rounded to the nearest threshold value.
 -Possible values range between 0 (disabled) and 500.
 -Default is 25.
 -.It Va hw.snd.feeder_polyphase_max
 +.It Va hw.snd.feeder_rate_polyphase_max
  Adjust to set the maximum number of allowed polyphase entries during the
  process of building resampling filters.
  Only applicable when the SINC interpolator is used.
  Default value is 183040.
  Set to 0 to disable polyphase resampling.
 -.It Va hw.snd.feeder_quality
 +.It Va hw.snd.feeder_rate_quality
  Sample rate converter quality.
  Default value is 1, linear interpolation.
  Available options include:
 @@ -277,6 +271,12 @@ taps and 90% bandwidth as quality values
  Continuation of the bandlimited SINC inteprolator, with 100dB stopband, 164
  taps and 97% bandwidth as quality values.
  .El
 +.It Va hw.snd.feeder_rate_round
 +Sample rate rounding threshold, to avoid large prime division at the
 +cost of accuracy.
 +All requested sample rates will be rounded to the nearest threshold value.
 +Possible values range between 0 (disabled) and 500.
 +Default is 25.
  .It Va hw.snd.latency
  Configure the buffering latency.
  Only affects applications that do not explicitly request
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
