From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BrYlE-0007oJ-94 for qemu-devel@nongnu.org; Mon, 02 Aug 2004 05:05:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BrYlC-0007o6-Fs for qemu-devel@nongnu.org; Mon, 02 Aug 2004 05:05:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BrYlC-0007o3-Cy for qemu-devel@nongnu.org; Mon, 02 Aug 2004 05:05:34 -0400 Received: from [151.189.21.45] (helo=mail-in-05.arcor-online.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BrYhh-0006QI-6p for qemu-devel@nongnu.org; Mon, 02 Aug 2004 05:01:57 -0400 Received: from halef.NotaMusica.com (dsl-082-082-147-237.arcor-ip.net [82.82.147.237]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id 4ECE210D8B for ; Mon, 2 Aug 2004 11:01:52 +0200 (CEST) Received: from halef.NotaMusica.com (localhost [127.0.0.1]) by halef.NotaMusica.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7291hpF021837 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 2 Aug 2004 11:01:43 +0200 Received: from localhost (jmartin@localhost) by halef.NotaMusica.com (8.12.3/8.12.3/Debian-6.6) with ESMTP id i7291gGQ021832 for ; Mon, 2 Aug 2004 11:01:43 +0200 Date: Mon, 2 Aug 2004 11:01:41 +0200 (CEST) From: Johannes Martin Subject: Re: [Qemu-devel] Sound & Win98 In-Reply-To: Message-ID: References: <20040725102549.C7E0A2A0E9@webmail222.herald.ox.ac.uk> <200407251455.40966.menola@sbcglobal.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi, On Fri, 30 Jul 2004, Johannes Martin wrote: > I tested the Win98 sound patch available at > http://www.h7.dion.ne.jp/~qemu-win/download/qemu-0.6.0-6_aqemu.patch.gz > with the additional patch posted by malc on July 25. > [in short: Win98 still didn't work, OS/2 & Win95 stopped working] I found out what the problem was that made OS/2 and Win95 stop working. The second part of the patch posted by malc on July 25: --- oss.c Mon Jul 26 01:00:48 2004 +++ ../qq/oss.c Mon Jul 26 01:04:45 2004 @@ -895,6 +896,9 @@ elapsed += s->leftover; } } + + if (elapsed < 1024) + return 0; if (elapsed > free) { lwarn ("audio can not keep up elapsed %d free %d\n", elapsed, free); If I don't apply that patch, OS/2 and Win95 continue to work (i.e. sound is not or only mildly distorted). Johannes