Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 14:41:52 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Julian Elischer <julian@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, cg@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/sound/pci maestro.c
Message-ID:  <3A1A6D8F.47F0F21E@FreeBSD.org>
References:  <200011211222.EAA94291@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A1A6D8F.47F0F21E>