From owner-freebsd-current Sun Feb 11 14:15:39 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA00738 for current-outgoing; Sun, 11 Feb 1996 14:15:39 -0800 (PST) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA00733 for ; Sun, 11 Feb 1996 14:15:32 -0800 (PST) Received: (from root@localhost) by dyson.iquest.net (8.6.11/8.6.9) id RAA01382; Sun, 11 Feb 1996 17:11:59 GMT From: "John S. Dyson" Message-Id: <199602111711.RAA01382@dyson.iquest.net> Subject: Re: Something's funny with Xboing and the pipe code To: roberto@keltia.freenix.fr (Ollivier Robert) Date: Sun, 11 Feb 1996 17:11:59 +0000 () Cc: freebsd-current@FreeBSD.ORG In-Reply-To: <199602111650.RAA17788@keltia.freenix.fr> from "Ollivier Robert" at Feb 11, 96 05:50:38 pm X-Mailer: ELM [version 2.4 PL24 ME8] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.ORG Precedence: bulk > It seems that the new pipe code is so fast that the Xboing sound server (a > child process) has very big trouble to keep up. A while ago it was a little > de-synchronized, now it is not synchronized at all. > > The game is now unplayable on my 486DX4/100 :-) > The problem appears to be that the buffer size for our new pipe code is larger, and causes the synchronization to be off by up to 16K bytes. I think that I might be able to come up with a patch to the sound code to make it work correctly. I think that Linux might use 4k for it's pipe buffer. I'll look into it, perhaps making a small change to the Linux sound driver for xboing. (This is just a guess after looking at the code.) John Dyson dyson@freebsd.org