From owner-cvs-all Sun Apr 2 7:38:10 2000 Delivered-To: cvs-all@freebsd.org Received: from lavender.yy.cs.keio.ac.jp (ppp152.dialup.st.keio.ac.jp [131.113.27.152]) by hub.freebsd.org (Postfix) with ESMTP id 8956137BDD9; Sun, 2 Apr 2000 07:37:59 -0700 (PDT) (envelope-from sanpei@sanpei.org) Received: (from sanpei@localhost) by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id XAA34730; Sun, 2 Apr 2000 23:37:44 +0900 (JST) Message-Id: <200004021437.XAA34730@lavender.yy.cs.keio.ac.jp> To: sobomax@altavista.net Cc: cg@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/dev/sound/isa ess.c In-Reply-To: Your message of "Sun, 02 Apr 2000 02:50:01 +0300" References: <38E68B29.2055235C@altavista.net> X-Mailer: Mew version 1.70 on Emacs 19.34.1 / Mule 2.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 02 Apr 2000 23:37:43 +0900 From: MIHIRA Sanpei Yoshiro Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >I've stuck into this problem on my OPL3-SA based soundcard, where >64KB (!!!) buffer provided by default, while apps trying to get >from driver much less buffer space (usually up to 1K). For example, >all games using the SDL library was fouled thinking that buffer is >empty (as the select() suggested so) and keeping pumping data into >there until it completely filled those famous 64KB, which on 22KHz >turns into 3 second delay in sound effects. > >I've even wrote testcase exposing this problem and ready to send it >to anyone who want to look into this problem. I think so too. Some sound application software(especially for GAME, for example, games/xgalaga, games/rollemup in ports collection) has this buffer problem. I also think, we need to add sysctl for buffer size. --- MIHIRA Sanpei Yoshiro Yokohama, Japan. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message