From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: Question about snd_mixer_selem_get_playback_dB_range() Date: Mon, 21 Mar 2011 15:38:59 +0100 Message-ID: <4D876303.3090100@ladisch.de> References: <1300711933.24854.263.camel@IT-W2076> <1300715722.24854.290.camel@IT-W2076> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by alsa0.perex.cz (Postfix) with ESMTP id 1B88124152 for ; Mon, 21 Mar 2011 15:37:31 +0100 (CET) In-Reply-To: <1300715722.24854.290.camel@IT-W2076> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Tanu Kaskinen Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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