All of lore.kernel.org
 help / color / mirror / Atom feed
* small enhancement to es1968.c
@ 2002-05-20 20:38 karsten wiese
  2002-05-21 10:34 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: karsten wiese @ 2002-05-20 20:38 UTC (permalink / raw)
  To: alsa-devel

hallo,

this one lets the volume reach maximum on both
channels also by using the extra volume-control-knobs
found on some laptops. 
the diff was run against the cvs - version of today.

>>>>
--- es1968.c_cvs        Mon May 20 22:09:37 2002
+++ es1968.c    Mon May 20 22:12:11 2002
@@ -1981,7 +1981,7 @@
                        /* volume up */
                        if ((val & 0xff) > 0)
                                val--;
-                       if ((val & 0xff00) > 0x100)
+                       if ((val & 0xff00) > 0)
                                val -= 0x0100;
                } else {
                        /* volume down */
<<<<

best regards, karsten


__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Sie brauchen mehr Speicher für Ihre E-Mails? - http://premiummail.yahoo.de

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-21 10:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-20 20:38 small enhancement to es1968.c karsten wiese
2002-05-21 10:34 ` Takashi Iwai

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.