From owner-freebsd-current@FreeBSD.ORG Sun Jul 4 18:57:14 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F18516A4CE for ; Sun, 4 Jul 2004 18:57:14 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 418A643D46 for ; Sun, 4 Jul 2004 18:57:14 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.11/8.12.11) with ESMTP id i64Iv7Ic083748; Sun, 4 Jul 2004 11:57:10 -0700 (PDT) (envelope-from truckman@FreeBSD.org) Message-Id: <200407041857.i64Iv7Ic083748@gw.catspoiler.org> Date: Sun, 4 Jul 2004 11:57:07 -0700 (PDT) From: Don Lewis To: darron@kewl.org In-Reply-To: <60503.1088681781@bogus.kewl.org> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: freebsd-current@FreeBSD.org Subject: Re: Network diagrams ready X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2004 18:57:14 -0000 On 1 Jul, Darron Broad wrote: > rufus# diff -u via82c686.c.orig via82c686.c > --- via82c686.c.orig Thu Jul 1 12:28:25 2004 > +++ via82c686.c Thu Jul 1 12:28:43 2004 > @@ -41,7 +41,7 @@ > #define SEGS_PER_CHAN (NSEGS/2) > > #define TIMEOUT 50 > -#define VIA_DEFAULT_BUFSZ 0x1000 > +#define VIA_DEFAULT_BUFSZ 0x8000 > > #undef DEB > #define DEB(x) > The change of VIA_DEFAULT_BUFSZ to 0x8000 is personal because I don't care > about latency and the default value of 0x1000 is unusable on anything unless > it happens to have a 100GHZ processort, and mine is onyl 800MHZ. > > This has annoyed me for ages, how about some kind of sysctl for sound buffers? Since this value only gets used in the device attach routine I think this would have to be done with a device hint. The sound player application should already have the ability to change the buffer size to something other than the default with a runtime ioctl().