Takashi Iwai wrote: > At Tue, 4 Mar 2008 15:03:15 +0000, > James Courtier-Dutton wrote: >>> > Now that we have these dB gain levels, we could potentially set all >>> > mixer controls to 0dB, i.e. not gain and not attenuation, with only >>> > the master output control being set to a lower value so as to avoid >>> > ears breaking. >>> >>> >>> I don't know where the master output control is. Do you see it in the >>> outputs of 'amixer' or 'amixer contents' I provided in one of my >>> previous messages? >>> >> version 1.0.16 of amixer will have the dB values. >> You also have to have version 1.0.16 of alsa-driver and alsa-lib. > > hdspm driver still doesn't support TLV dB information. > In addition, rme9652/hdsp/hdspm drivers use control elements in a > non-standard way for indirect accessing, so each mixer value isn't > visible in amixer or alsactl. > So, in that case mapping values from 0 to 65536 to gain values is not yet done for you. You will have to find some other method to convert them to gain values, and as the driver does not document the mapping, you probably have to use trial and error or look at a datasheet if they exist. James ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user