> numid=6,iface=MIXER,name='Radio Volume' > ; type=INTEGER,access=rw---,values=1,min=0,max=127,step=0 > : values=-1026031472 > numid=8,iface=MIXER,name='Record Switch' > ; type=INTEGER,access=rw---,values=1,min=0,max=3,step=0 > : values=-1026028812 See the values are not initialised correctly. They should be in a range of 0 to 3. > However, in the device driver, all these controls are the same settings: > { > .ctl = &snd_tlv320aic23_ctl, > .name = "Record Switch", > .index = RecordSource, The index value is wrong. Leave it out, so that it defaults to 0. The index is used if you have more that one control with the same name, but if the index does not start at zero, the simple mixer will not process it. > .reg = TLV320AIC23_ANALOGPATH, > .def = 0, > .shift = 6, > .mask = TLV320AIC23_APATH_SIDETONE15dB, > .min = 0, > .max = 3, > }, > { > .ctl = &snd_tlv320aic23_ctl, > .name = "Sound Effect", > .index = SoundEffect, > .reg = TLV320AIC23_ANALOGPATH, > .def = 1, > .shift = 4, > .mask = TLV320AIC23_APATH_DACEN, > .min = 0, > .max = 3, > }, > > How to change this setting to simple control? > > Thank you > > Tyler Li > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-devel