From: Tanu Kaskinen Subject: Re: Question about snd_mixer_selem_get_playback_dB_range() Date: Mon, 21 Mar 2011 16:44:55 +0200 Message-ID: <1300718695.24854.310.camel@IT-W2076> References: <1300711933.24854.263.camel@IT-W2076> <1300715722.24854.290.camel@IT-W2076> <4D876303.3090100@ladisch.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from smtp1.digia.com (smtp1.digia.com [82.118.214.156]) by alsa0.perex.cz (Postfix) with ESMTP id 744822432D for ; Mon, 21 Mar 2011 15:44:57 +0100 (CET) In-Reply-To: <4D876303.3090100@ladisch.de> 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: Clemens Ladisch Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org 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