Update of /cvsroot/alsa/alsa-utils/alsamixer
In directory sc8-pr-cvs1:/tmp/cvs-serv13686

Modified Files:
        alsamixer.c 
Log Message:
Volume can be lower than zero, too

Index: alsamixer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-utils/alsamixer/alsamixer.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- alsamixer.c 24 Feb 2003 13:51:15 -0000      1.64
+++ alsamixer.c 28 May 2003 07:25:26 -0000      1.65
@@ -581,9 +581,10 @@
       vright = mixer_calc_volume(elem, mixer_volume_delta[MIXER_CHN_RIGHT], type, 
chn_right);
       vbalance += vright;
       vbalance /= 2;
-    } else
+    } else {
       vright = vleft;
-    if (vleft >= 0 && vright >= 0) {
+    }
+
       if (joined) {
        for (chn = 0; chn < SND_MIXER_SCHN_LAST; chn++)
          if (type != MIXER_ELEM_CAPTURE) {
@@ -617,7 +618,6 @@
          }
        }
       }
-    }
   }
 
   /* mute



-------------------------------------------------------
This SF.net email is sponsored by: ObjectStore.
If flattening out C++ or Java code to make your application fit in a
relational database is painful, don't do it! Check out ObjectStore.
Now part of Progress Software. http://www.objectstore.net/sourceforge
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to