lkml.org 
[lkml]   [2006]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Siemens SX1: sound cleanups
From
Date
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-11-19 22:33    [W:0.065 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site