From: Takashi Iwai Subject: Re: Negative volume steps? Date: Thu, 26 May 2011 14:58:13 +0200 Message-ID: References: <1306408004.4306.53.camel@jarl> <4DDE46C3.5000006@ladisch.de> <1306413932.4306.83.camel@jarl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 9BB281038AD for ; Thu, 26 May 2011 14:58:13 +0200 (CEST) In-Reply-To: <1306413932.4306.83.camel@jarl> 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, Clemens Ladisch List-Id: alsa-devel@alsa-project.org At Thu, 26 May 2011 15:45:32 +0300, Tanu Kaskinen wrote: > > On Thu, 2011-05-26 at 14:25 +0200, Clemens Ladisch wrote: > > Tanu Kaskinen wrote: > > > If a driver claims that the lowest volume step (integer step, not dB) of > > > a volume element is -126 and the highest step is 0, is the driver > > > broken? > > > > No. > > > > > I'm asking, because apparently there are such drivers, but Pulseaudio > > > currently assumes that the volume steps are never negative. > > > > The maximum is higher than the minimum, so how would a step be negative? > > By "step" I mean the step index, ie. the volume value, not the > difference between two volumes. A negative value is allowed although we are trying to avoid it usually. But some funky drivers may give such values. Takashi