Update of /cvsroot/alsa/alsa-kernel/ppc
In directory sc8-pr-cvs1:/tmp/cvs-serv1682

Modified Files:
        tumbler.c 
Log Message:
- ignore the manual mute of speaker in the auto-mute mode.



Index: tumbler.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/ppc/tumbler.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- tumbler.c   7 Oct 2003 12:12:20 -0000       1.24
+++ tumbler.c   12 Jan 2004 17:55:25 -0000      1.25
@@ -666,6 +666,10 @@
        pmac_tumbler_t *mix;
        pmac_gpio_t *gp;
        int val;
+#ifdef PMAC_SUPPORT_AUTOMUTE
+       if (chip->update_automute && chip->auto_mute)
+               return 0; /* don't touch in the auto-mute mode */
+#endif 
        if (! (mix = chip->mixer_data))
                return -ENODEV;
        gp = (kcontrol->private_value == TUMBLER_MUTE_HP) ? &mix->hp_mute : 
&mix->amp_mute;



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to