All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Tanu Kaskinen <tanuk@iki.fi>
Cc: alsa-devel@alsa-project.org, Clemens Ladisch <clemens@ladisch.de>
Subject: Re: Negative volume steps?
Date: Thu, 26 May 2011 14:58:13 +0200	[thread overview]
Message-ID: <s5h8vttliu2.wl%tiwai@suse.de> (raw)
In-Reply-To: <1306413932.4306.83.camel@jarl>

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

      reply	other threads:[~2011-05-26 12:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 11:06 Negative volume steps? Tanu Kaskinen
2011-05-26 12:25 ` Clemens Ladisch
2011-05-26 12:45   ` Tanu Kaskinen
2011-05-26 12:58     ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h8vttliu2.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=tanuk@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.