From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BoysK-0005C8-EZ for qemu-devel@nongnu.org; Mon, 26 Jul 2004 02:22:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BoysJ-0005Bw-9S for qemu-devel@nongnu.org; Mon, 26 Jul 2004 02:22:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BoysJ-0005Bt-58 for qemu-devel@nongnu.org; Mon, 26 Jul 2004 02:22:15 -0400 Received: from [211.29.132.32] (helo=mail002.syd.optusnet.com.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Boyp8-0001Qm-VK for qemu-devel@nongnu.org; Mon, 26 Jul 2004 02:18:59 -0400 Received: from c210-49-30-228.rochd2.qld.optusnet.com.au (c210-49-30-228.rochd2.qld.optusnet.com.au [210.49.30.228]) by mail002.syd.optusnet.com.au (8.11.6p2/8.11.6) with ESMTP id i6Q6ItG29805 for ; Mon, 26 Jul 2004 16:18:56 +1000 Received: from [192.168.1.1] (blackpaw.cable.nu [192.168.1.1]) by c210-49-30-228.rochd2.qld.optusnet.com.au (Postfix) with ESMTP id 4FFD99025F for ; Mon, 26 Jul 2004 16:18:55 +1000 (EST) Message-ID: <4104A24D.60309@optusnet.com.au> Date: Mon, 26 Jul 2004 16:18:53 +1000 From: Lindsay Mathieson MIME-Version: 1.0 Subject: Re: [Qemu-devel] Sound & Win98 References: <20040725102549.C7E0A2A0E9@webmail222.herald.ox.ac.uk> <200407251455.40966.menola@sbcglobal.net> <200407251656.47811.menola@sbcglobal.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Sorry, still no luck: patch -p0 < ../oss.c.patch patching file oss.c Hunk #1 FAILED at 796. Hunk #2 FAILED at 896. 2 out of 2 hunks FAILED -- saving rejects to file oss.c.rej malc wrote: >On Sun, 25 Jul 2004, Joe Menola wrote: > > > >>>Thank you for this detailed bug report. >>> >>> >>My pleasure. >> >> >> >>>Following patch (which must be applied after qemu-0.6.0-6_aqemu.patch.gz >>>will definitely workaround 1st problem and might help with 2nd. >>> >>> >>I copied your text to file sb-sub.patch, but fudged things some how. >>$ patch -p1 < sb-sub.patch >>patch: **** Only garbage was found in the patch input. >> >> > >Let's try that again: >$ cd /cvs/qemu >$ patch > > >>>It would be interesting to know if "Unknown error 2996" goes away if >>>vanilla OSS/ALSA is used. >>> >>> >>By that you mean disable arts? >> >> > >Yes. > > > >>>P.S. The only missing information is the name of the soundcard. >>> >>> >>Physical soundcard? =SB Live 5.1 >> >> > >Ok. SB Live 5.1 + arts. Thanks. > > > >------------------------------------------------------------------------ > >--- oss.c.orig Mon Jul 26 01:00:48 2004 >+++ oss.c Mon Jul 26 01:04:45 2004 >@@ -796,12 +796,13 @@ > play = MIN (left, bytes); > written = write (s->fd, (void *) ((uint32_t) s->buf + s->rpos), play); > >- if (-1 == written) { >+ if (written < 0) { > if (EAGAIN == errno || EINTR == errno) { > return; > } > else { >- ERRFail ("write audio"); >+ fprintf (stderr, "write failed, errno=%d\n", errno); >+ return; > } > } > >@@ -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); > > >------------------------------------------------------------------------ > >_______________________________________________ >Qemu-devel mailing list >Qemu-devel@nongnu.org >http://lists.nongnu.org/mailman/listinfo/qemu-devel > >