[alsa-devel] Question about snd_mixer_selem_get_playback_dB_range()

Clemens Ladisch clemens at ladisch.de
Mon Mar 21 15:38:59 CET 2011


Tanu Kaskinen wrote:
> On Mon, 2011-03-21 at 15:43 +0200, Raymond Yau wrote:
> > AFAIK , only those STAC920x codec has SND_CTL_TLV_DB_GAIN_MUTE
> 
> Also some broken HDA cards,

Where "some" = "those that use a STAC920x codec".

> What is not any driver bug?

That the hardware reported a wrong dB value for the lowest volume
setting.  The latest driver has a workaround.

> Is it a bug in alsa (the driver or alsa-lib or whatever) if
> snd_mixer_selem_get_playback_dB_range() returns something else than
> SND_CTL_TLV_DB_GAIN_MUTE as the min gain, if the lowest volume step for
> the element is mute?

Yes.


Regards,
Clemens


More information about the Alsa-devel mailing list