[oss-devel] wrong max values for MIXT_ONOFF in Via8233 and OSSusb generic driver

Hannu Savolainen hannu at opensound.com
Fri Mar 21 23:24:49 EET 2008


Hi,

Actually the maxvalue doesn't matter with MIXT_ONOFF because it's 
obvious that thare are just two values. However I agree that 1 is more 
correct than 2. I fixed these controls and the change should appear in 
the hg tree within couple of weeks.

For most control maxvalue means the highest possible value. However for 
MIXT_ENUM the maxvalue field returns number of choices. So the largest 
possible value is maxvalue-1.

Some AC97 codecs have a microphone boost bits in two registers. For this 
reason there are two controls. Can you check if they both have effect to 
the input level or which one is correct? Also what is the AC97 codec 
reported by "ossinfo -x"?

Best regards,

Hannu
-------
apriori at dkc-clan.de wrote:
> Hi all,
>
> while doing some testing for the kmix oss4 module, I encountered some errors 
> in the named drivers:
>
> Via8233:
> -micboost (MIXT_ONOFF) has a max value of 2, according do the docs that is 
> incorrect behavior. Also its somehow strange that the driver provides two 
> micboost controls, one "micboost" and "mixext.micboost" (with proper min & 
> maxvalue).
>
> OSSusb:
> -mic.agc (MIXT_ONOFF) has a max value of 2
>
> Regards
>
> apriori
> _______________________________________________
> oss-devel mailing list
> oss-devel at mailman.opensound.com
> http://mailman.opensound.com/mailman/listinfo/oss-devel
>   



More information about the oss-devel mailing list