From owner-cvs-all Tue Nov 21 4:54:11 2000 Delivered-To: cvs-all@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 2DD5D37B4C5; Tue, 21 Nov 2000 04:54:06 -0800 (PST) Received: from kinshasa-29.budapest.interware.hu ([195.70.51.157] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 13yCvz-0003p5-00; Tue, 21 Nov 2000 13:54:03 +0100 Message-ID: <3A1A7065.D6736214@elischer.org> Date: Tue, 21 Nov 2000 04:53:57 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Maxim Sobolev Cc: Julian Elischer , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cg@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sound/pci maestro.c References: <200011211222.EAA94291@freefall.freebsd.org> <3A1A6D8F.47F0F21E@FreeBSD.org> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Maxim Sobolev wrote: > > Julian Elischer wrote: > > > julian 2000/11/21 04:22:12 PST > > > > Modified files: > > sys/dev/sound/pci maestro.c > > Log: > > Bump the buffersize from 0x1000 to 0x4000. > > 0x1000 gets underflows on my dell 7500 whenever I moved the mouse. > > (reported as "hwptr went backwards...", with jumpy sound) > > Sounds great now.... > > I'm not sure it is a right solution for the problem. By increasing buffer size > you are automatically worsening sound synchronization problem in video players, > games and such, as they are often running with 22kHz/8bit/mono sound while > FreeBSD pcm driver doesn't provide a way for the app to discover current state > of that buffer, so usually apps have nothing to do but to keep this buffer > filled all the time, hoping that it's small enough to mask this delay. > > The proper solution would be to fix fu^H^Hboring entropy harvester. is that'as what's doing it? It seems to be related to my moving the mouse. As for syncing, maybe we can add something in the ABI that allows syncing? > > -Maxim -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message