From owner-cvs-src@FreeBSD.ORG Mon Nov 14 18:21:24 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9F6616A41F; Mon, 14 Nov 2005 18:21:24 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC6BA43D5A; Mon, 14 Nov 2005 18:21:23 +0000 (GMT) (envelope-from ariff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jAEILNtl040537; Mon, 14 Nov 2005 18:21:23 GMT (envelope-from ariff@repoman.freebsd.org) Received: (from ariff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jAEILNlP040536; Mon, 14 Nov 2005 18:21:23 GMT (envelope-from ariff) Message-Id: <200511141821.jAEILNlP040536@repoman.freebsd.org> From: Ariff Abdullah Date: Mon, 14 Nov 2005 18:21:23 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/sound/pcm channel.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Nov 2005 18:21:25 -0000 ariff 2005-11-14 18:21:23 UTC FreeBSD src repository Modified files: sys/dev/sound/pcm channel.c Log: From luigi: This one simply tries to simplify the logic to select the buffer sizes. I am not sure it is necessary but the code seems a bit more readable to me. And at least i have tried to document how the buffer sizes are computed. Thanks to luigi for deciphering one of the most cryptic part of sound driver. Submitted by: luigi Approved by: netchild (mentor) Revision Changes Path 1.103 +71 -35 src/sys/dev/sound/pcm/channel.c