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 ------- [EMAIL PROTECTED] 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@mailman.opensound.com > http://mailman.opensound.com/mailman/listinfo/oss-devel > _______________________________________________ oss-devel mailing list oss-devel@mailman.opensound.com http://mailman.opensound.com/mailman/listinfo/oss-devel