public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Revell <rlrevell@joe-job.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	Vladimir Ananiev <vovan888@gmail.com>
Subject: Re: Siemens SX1: sound cleanups
Date: Sun, 19 Nov 2006 16:30:25 -0500	[thread overview]
Message-ID: <1163971825.22176.91.camel@mindpipe> (raw)
In-Reply-To: <20061119114938.GA22514@elf.ucw.cz>

On Sun, 2006-11-19 at 12:49 +0100, Pavel Machek wrote:
> +int set_mixer_volume(int mixer_vol)
>  {
> -       int retVal;
> +       /* FIXME: Alsa has mixer_vol in 0-100 range, while SX1 needs
> 0-9 range */

Untrue.  ALSA uses whatever range you define in the info callback for
the mixer element.  I guess it just defaults to 0-100 if you don't set
it.

http://www.alsa-project.org/~iwai/writing-an-alsa-driver/x967.htm#CONTROL-INTERFACE-CALLBACKS-INFO

Lee


  reply	other threads:[~2006-11-19 21:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-19 11:49 Siemens SX1: sound cleanups Pavel Machek
2006-11-19 21:30 ` Lee Revell [this message]
2006-11-24 11:04   ` Pavel Machek
2006-11-20 10:40 ` Takashi Iwai
2006-11-20 12:46   ` Komal Shah
2006-11-20 18:52     ` Tony Lindgren
2006-11-21 11:48   ` Pavel Machek
2006-11-21 11:54     ` Takashi Iwai
2006-11-21 11:56       ` Pavel Machek
2006-11-21 12:00         ` Takashi Iwai

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=1163971825.22176.91.camel@mindpipe \
    --to=rlrevell@joe-job.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=vovan888@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox