Subject: Re: eap(4) and ess(4) and mixer volume values
To: Matthias Scheler <tron@zhadum.de>
From: Steve Woodford <swoodfor@bluews.com>
List: tech-kern
Date: 08/16/2000 08:46:41
Matthias Scheler wrote:

> What I still don't understand is how a bug in our OSS library can affect
> the "realplayer" package. I suppose it was really a bug in "7.0nb2"
> which got fixed in "7.0nb3".

The "realplayer" package (and any other Linux binary using OSS audio
under emulation) uses the kernel's OSS compat code. See
sys/compat/ossaudio. I haven't look at it in any detail, but if it's
broken in the same way as the OSS library, I suggest you go ahead and fix
it in the same way.

I definately agree that the best place to fix this is in the OSS goop.
I'm not happy with changing the behaviour of our native audio drivers
(i.e. pretending there's more precision in the mixer registers than there
really is) just to `fix' some, arguably, broken Linux binary.

The `rounding' that takes place following a "mixerctl -w" provides useful
feedback as to the granularity of the mixer's gain registers.

Cheers, Steve