From owner-cvs-all Tue Nov 21 4:42:35 2000 Delivered-To: cvs-all@freebsd.org Received: from blizzard.sabbo.net (blizzard.sabbo.net [193.193.218.18]) by hub.freebsd.org (Postfix) with ESMTP id E0C3C37B4C5; Tue, 21 Nov 2000 04:41:58 -0800 (PST) Received: from vic.sabbo.net (root@vic.sabbo.net [193.193.218.109]) by blizzard.sabbo.net (8.10.1/8.10.1) with ESMTP id eALCfpI05450; Tue, 21 Nov 2000 14:41:53 +0200 Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vic.sabbo.net (8.11.1/8.9.3) with ESMTP id eALCfs023164; Tue, 21 Nov 2000 14:41:54 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A1A6D8F.47F0F21E@FreeBSD.org> Date: Tue, 21 Nov 2000 14:41:52 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: Julian Elischer Cc: 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> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message