From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 4 12:34:50 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DD9516A4CE for ; Tue, 4 Nov 2003 12:34:50 -0800 (PST) Received: from hak.cnd.mcgill.ca (hak.cnd.mcgill.ca [132.216.11.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA47743FEC for ; Tue, 4 Nov 2003 12:34:48 -0800 (PST) (envelope-from mat@hak.cnd.mcgill.ca) Received: from hak.cnd.mcgill.ca (localhost [127.0.0.1]) by hak.cnd.mcgill.ca (8.12.9/8.12.8) with ESMTP id hA4KWak4065399; Tue, 4 Nov 2003 15:32:36 -0500 (EST) (envelope-from mat@hak.cnd.mcgill.ca) Received: (from mat@localhost) by hak.cnd.mcgill.ca (8.12.9/8.12.8/Submit) id hA4KWaew065398; Tue, 4 Nov 2003 15:32:36 -0500 (EST) From: Mathew Kanner To: Anthony Schneider Message-ID: <20031104203236.GJ25967@cnd.mcgill.ca> References: <20031104060851.GA39619@x-anthony.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031104060851.GA39619@x-anthony.com> User-Agent: Mutt/1.4.1i Organization: I speak for myself, operating in Montreal, CANADA X-Spam-Status: No, hits=-4.5 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-hackers@freebsd.org Subject: Re: Sound Blaster Audigy LS problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Date: Tue, 04 Nov 2003 20:34:50 -0000 X-Original-Date: Tue, 4 Nov 2003 15:32:36 -0500 X-List-Received-Date: Tue, 04 Nov 2003 20:34:50 -0000 On Nov 04, Anthony Schneider wrote: > [...] > timeout = (hz * sndbuf_getblksz(bs)) / (sndbuf_getspd(bs) * sndbuf_getbps(bs)); > if (timeout < 1) > timeout = 1; > timeout = 1; > > seems like overkill... > I noticed this too. It was introduced in rev 1.65 to "reduce latency/pauses in output." It isn't clear to me why it's there. --Mat -- It's impossible to awaken a man who is pretending to be asleep. - Navajo saying