Subject: Re: Ideas on the audio framework
To: None <tech-kern@NetBSD.org>
From: Jukka Marin <jmarin@embedtronics.fi>
List: tech-kern
Date: 12/07/2004 09:09:45
On Tue, Dec 07, 2004 at 12:51:57AM -0600, David Young wrote:
> We disagree that the way to fix it is with scaling.  The way to fix it
> is to tell apps, "I am a volume control.  I am adjustable in the range
> [0, hwmax].  I will clamp settings greater than hwmax or less than 0."
> Let the apps decide whether to scale or to provide discrete settings,
> but do *not* make them represent that there are more settings than there
> really are, and then conceal the dismal truth from them.

Why would normal applications NEED that information?  The user adjusts the
slider until the volume is suitable.  What good does it do to him to see
how many steps the particular hardware implementation has?  Why would every
volume control application have to do the same scaling that could just as
well be done in the audio drivers?  I don't mind being able to query the
hardware capabilities, but IMO, the application interface should be made
simple for the application developers.

BTW, how does volume control work in other BSDs, linux etc?

Oh well - I should know better and shut up.

  -jm