Date: Wed, 23 Mar 2005 10:20:03 +0100 (CET) From: <trasz@buziaczek.pl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/79156: buffersize knob for sound(4) is a tunable, not a sysctl. Message-ID: <20050323092003.04D74B804F@pin.if.uz.zgora.pl> Resent-Message-ID: <200503230920.j2N9K2Oj026008@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 79156 >Category: docs >Synopsis: buffersize knob for sound(4) is a tunable, not a sysctl. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 23 09:20:01 GMT 2005 >Closed-Date: >Last-Modified: >Originator: trasz >Release: FreeBSD 5.3-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD pin.if.uz.zgora.pl 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Sun Jan 16 12:27:41 CET 2005 trasz@pin.if.uz.zgora.pl:/usr/obj/usr/src/sys/PIN i386 >Description: sound(4) man page claims that 'hw.snd.pcm%d.buffersize' can be configured via sysctl. that's not true, however: in /sys/dev/sound/pcm/sound.c there is: SYSCTL_ADD_INT(snd_sysctl_tree(dev), SYSCTL_CHILDREN(snd_sysctl_tree_top(dev)), OID_AUTO, "buffersize", CTLFLAG_RD, &d->bufsz, 0, ""); so the sysctl is read-only. buffersize can be set via tunable 'hint.pcm.0.buffersize', either in loader.conf or device.hints. >How-To-Repeat: type 'man sound' and scroll two pages down. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050323092003.04D74B804F>