[alsa-devel] Question about snd_mixer_selem_get_playback_dB_range()

Tanu Kaskinen tanu.kaskinen at digia.com
Mon Mar 21 15:44:55 CET 2011


On Mon, 2011-03-21 at 16:38 +0200, Clemens Ladisch wrote:
> 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".

Ah, ok :D

> > 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.

Thank you for the answer!

-- 
Tanu



More information about the Alsa-devel mailing list