[Alsa-devel] [RFC] alsa integer control ranges
Takashi Iwai
tiwai at suse.de
Wed May 17 22:37:33 EST 2006
At Wed, 17 May 2006 14:17:54 +0200,
Johannes Berg wrote:
>
> On Tue, 2006-05-16 at 14:27 +0200, Takashi Iwai wrote:
>
> > I don't think it's alsa-lib that prevents the negative or non-zero
> > integer range. The fact amixer works implies that it's an
> > app-specific bug. But I'm not 100% sure and need more
> > inside-looking.
>
> Basically, I think what I'm saying is: "why doesn't alsa-lib shift the
> range to start at zero?"
> It already does so many manipulations, that one wouldn't hurt...
True, but then it's a workaround only for your driver right now :)
The API clearly defines the non-zero minimum value, so manipulating it
in alsa-lib sounds self-inconsistent.
Takashi
More information about the Linuxppc-dev
mailing list