From owner-cvs-all Tue Nov 21 5: 1:49 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 C79ED37B479; Tue, 21 Nov 2000 05:01:35 -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 eALE3JZ01055; Tue, 21 Nov 2000 16:03:22 +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 eALD1O023220; Tue, 21 Nov 2000 15:01:24 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3A1A7222.3442CED9@FreeBSD.org> Date: Tue, 21 Nov 2000 15:01:22 +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: 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> <3A1A7065.D6736214@elischer.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: > 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. It's why I suspect entropy harvester. > As for syncing, maybe we can add something in the ABI that allows > syncing? Yes, OSS API defines the way app can do syncing, but our implementation doesn't work with it properly. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message