[alsa-devel] wrong decibel data?
superquad.vortex2 at gmail.com
Fri Apr 9 01:11:48 CEST 2010
2010/4/8 Nicolo' Chieffo <nicolo.chieffo at gmail.com>
> I'm sorry but I found out that I gave you wrong values of "amixer -D
> pulse": I just discovered that when I lower the alsa master volume, in
> some occasions the PCM volume goes to 99%, so now I will put it to
> 100% and check the pulse volume again.
> 0 dB = 65536 [100%]
> -3 dB = 57520 [88%]
> -6 dB = 52057 [79%]
> -12 dB = 41034 [63%]
> -24 dB = 26090 [40%]
> -48 dB = 10151 [15%]
> So again, the only problem is that -48 dB IS mute, but it's not
> declared as mute.
> This is the real issue.
Refer to HD audio specification
188.8.131.52 Amplifier Capabilities
Mute Capable (1 bit) reports if the respective amplifier is capable of
muting. Muting implies a –infinity gain (no sound passes), but the actual
performance is determined by the hardware.
>> Clemens Ladisch (developer) 2004-11-09 09:26
>> The AD1981B's datasheet says that the maximum attenuation is 46.5 dB
>> conforms to the AC'97 specification).
>> To mute, use Mute.
refer to your codec datasheet , the volume knob widget also affect the
volume if it is configured in direct mode
• DIRECT MODE
• In Direct mode, the Volume Knob widget directly controls the volume of all
of the DACs in the part. The volume in the Volume Knob widget acts as the
master volume and limits the maximum volume for each of the DAC amplifiers.
The amp gain for each of the DACs can also be adjusted using the DAC
amplifiers. However, the actual gain for an individual DAC will be the sum
of the Volume Knob volume and the DAC amplifier volume. For example, if the
DAC amplifier gain is set to 0x7F (0dB) and the Volume Knob volume is set to
0x3F (-48dB) the resulting gain would be -48dB. If the combination of gains
is less than -95.25dB
(the equivalent to a value of 0x0 for the DAC or Volume Knob volume
settings) then the actual gain will be -95.25dB. For example, if the Volume
Knob is set to 0x3F (-48dB) and the DAC amplifier volume is set to 0x1F
(-72dB) then the DAC volume will be set to -95.25dB.
More information about the Alsa-devel