Date: Tue, 21 Nov 2000 15:01:22 +0200 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Julian Elischer <julian@elischer.org> Cc: Julian Elischer <julian@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cg@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/sound/pci maestro.c Message-ID: <3A1A7222.3442CED9@FreeBSD.org> References: <200011211222.EAA94291@freefall.freebsd.org> <3A1A6D8F.47F0F21E@FreeBSD.org> <3A1A7065.D6736214@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A1A7222.3442CED9>